schaderDev
Member
The lifespan variable on the projectile component isnt´t doing what i expect it should do.
Right now it only disables the collider.
What i expect it should do is disable the gameobject and put the gameobject back into the pool.
Reproducible with Arrows:
Set Lifespan on arrow to 2 sec > shoot arrow
After 2 sec without collision the collider gets disabled and the arrow flies endlessly.
Right now it only disables the collider.
What i expect it should do is disable the gameobject and put the gameobject back into the pool.
Reproducible with Arrows:
Set Lifespan on arrow to 2 sec > shoot arrow
After 2 sec without collision the collider gets disabled and the arrow flies endlessly.