Projectile Jitters
by Eric Soyon · in Torque 3D Beginner · 08/10/2010 (12:55 am) · 3 replies
Hi all,
I've created a grenade which when thrown waits to explode till the 5 seconds timer. After colliding with the ground it does this weird jittery spinning thing on the ground for a few seconds before exploding. The grenade launcher as well seems to do the same thing.
I've created a grenade which when thrown waits to explode till the 5 seconds timer. After colliding with the ground it does this weird jittery spinning thing on the ground for a few seconds before exploding. The grenade launcher as well seems to do the same thing.
About the author
#2
There is an old forum post that claimed (I never tried it) to work around this issue but requires source access in order to implement it.
08/13/2010 (1:40 am)
This has long been with an issue with using the standard Torque projectile as a grenade. You could *maybe* adjust the bounceElasticity and bounceFriction fields to reduce the amount of apparent "jitter".There is an old forum post that claimed (I never tried it) to work around this issue but requires source access in order to implement it.
#3
08/13/2010 (3:27 am)
I would use a RigidShape (or whatever T3D's equivalent is) to simulate grenades, rather then a Projectile. It fits the desired behaviour rather better. To make it explode, you could look into scripted methods of doing damage and spawning effects, or actually have the grenade create a short-lived Projectile.
Eric Soyon