Inconsistent weapons and projectiles
by Mike Stoddart · in Torque Game Engine · 06/11/2002 (6:58 pm) · 1 replies
I've added a new weapon into my game, which is meant to be a pistol. I'm messing around with the data values in the script to try to increase the muzzle velocity and alter the effect that happens when the projectile hits something.
One thing I am noticing is that the weapon is inconsistent. If I repeatedly fire at the same spot, sometimes I see a trail (even though I thought I turned it off), sometimes I can see the projectile and sometimes I don't see the projectile. This is more noticable over longer distances obviously.
I have the muzzle velocity set to between 600-1000 (trying different values). Could it be that something running in the background is affecting the weapon projectile, or is it that the engine can't handle such projectiles reliably and consistently?
Thanks
One thing I am noticing is that the weapon is inconsistent. If I repeatedly fire at the same spot, sometimes I see a trail (even though I thought I turned it off), sometimes I can see the projectile and sometimes I don't see the projectile. This is more noticable over longer distances obviously.
I have the muzzle velocity set to between 600-1000 (trying different values). Could it be that something running in the background is affecting the weapon projectile, or is it that the engine can't handle such projectiles reliably and consistently?
Thanks
About the author
Torque 3D Owner Luigi Rosso