So i recently started making a map with Udon in which I will be putting some different weapons.
I came far with making a gun and making proper bullets for it , but when I came to destroying(setting them to inactive) those bullets things didn’t go as smooth as I hoped they would.
So currently my bullets spawn as a clone of a GameObject prefab and with velocity of their rigidbody get thrown forward.
And also here I have the Udon notes for the bullets time to disappear.
So from what i have seen that the problem is that the clones of a bullet take the information about disappearing from the original. So if the original will disappear after 10 seconds of its existence they will do the same and not use information about their time of existence. So basically what Im looking for is a way for clones to not take information from their originals interactions ,but from their own.
If anybody has a answer to this please let me know in the replays.
Thank you so much for reading and have a good rest of your day.