|
As the title says; I'm trying to make a gun script, I have the gun shooting as I wanted, but the cloned rigidbodies stick around, clogging up the game. How would I make them disappear after a set amount of time?
(comments are locked)
|
Here you go. Next time use the search function because that has been answered several times. Thanks, I didn't have time today to do a thorough search, but next time I will search a bit further.
Mar 02 '11 at 07:45 PM
Ozy
Why the -1? :s confused
Mar 02 '11 at 10:58 PM
Joshua
why did this answer get a -1? im upvoting it
Mar 21 '11 at 04:36 PM
networkZombie
(comments are locked)
|
Well, it works, and I thank you for that, but it destroys the prefab and/or the gun instead of the cloned prefab which renders my little gun thing useless.
Mar 03 '11 at 02:35 PM
Ozy
make sure its attached to the bullet and not to the gun.
Mar 15 '11 at 01:49 AM
networkZombie
I want my bullet to disappear after 5 seconds, this is instant, Any help?
Apr 30 at 11:42 PM
fjcym11
(comments are locked)
|
