Triggers interfere with projectiles
by Jesse Liles · in Torque Game Engine · 01/23/2006 (4:04 pm) · 1 replies
I am having a problem with triggers in TGE 1.4. I have set up a controlPoint trigger that I scale from within the
mission editor to work as a 'capturable zone' something like battlefield 1942. I have all of the code working. The problem lies in the fact that projectiles (specifically, fast moving bullet projectiles, I haven't tried others)
when fired through the trigger from outside the trigger, will have their trajectory modified, ie, the bullet hits significantly above the crosshair when fired through a trigger, otherwise it's very accurate. The other problem with the triggers is that bullets fired from inside the trigger do not seem to come out of the gun, they do not impact anything, and there is no decal/bullet hole left behind or any explosion. The muzzle flash occurs and a shell casing is ejected, so I know the gun is firing. Anybody have suggestions or even a possible explanation of why this is happening?
mission editor to work as a 'capturable zone' something like battlefield 1942. I have all of the code working. The problem lies in the fact that projectiles (specifically, fast moving bullet projectiles, I haven't tried others)
when fired through the trigger from outside the trigger, will have their trajectory modified, ie, the bullet hits significantly above the crosshair when fired through a trigger, otherwise it's very accurate. The other problem with the triggers is that bullets fired from inside the trigger do not seem to come out of the gun, they do not impact anything, and there is no decal/bullet hole left behind or any explosion. The muzzle flash occurs and a shell casing is ejected, so I know the gun is firing. Anybody have suggestions or even a possible explanation of why this is happening?
Torque 3D Owner Rubes