Game Development Community

Any way to keep projectiles from disappearing after impact?

by University of Central FL (#0003) · in Torque Game Engine · 04/24/2006 (9:20 am) · 2 replies

I am trying to shoot a piece of slime onto the ground (similar to unreal tournament). I want the slime to stay on the ground for a specified period of time before it disappears. I have experimented with the inventory/projectile system, but I can't seem to get the projectiles to be persistent after colliding with the ground, or any other object. I tried commenting out the body of the onCollision on the projectile I'm using, but it didn't seem to have any effect.

Any ideas?

#1
04/24/2006 (10:35 am)
I think what you need to do it apply a decal on the location where the projectile hits, there is a resource to put bullethole decals on objects do a search for it
#2
04/24/2006 (10:59 am)
You could fake this by placing a DTS object where the projectile collided, or modify the engine to not delete the projectile immediatly upon collision.