Popup Targets
by Katrina Rose · in Torque Game Engine · 08/11/2004 (9:52 am) · 2 replies
I have had one of our artists make me some popup targets and I am trying to get them to regester a hit when the bullet contacts them. My problem is that the targets oncollision code does not detect the bullet, and only detects the player. I also tried to make the target an AIPlayer, but this is very troublesome, because the model does not have mount nodes, and I don't want to redoo all my great AI coding. Is there any way I can make these popup targets objects that detect the bullet from any one of our guns?
Thanks in Advance for your help.
Marrion Cox
Thanks in Advance for your help.
Marrion Cox
About the author
#2
All of the damage stuff is done in script. Do your debug output in its onDamage function and it should work.
-s
08/11/2004 (2:56 pm)
The projectile should know that it hit something, but not the other way around... And note this is only if there is a LOSCol mesh for your object, which actually I have not been able to make work. All of the damage stuff is done in script. Do your debug output in its onDamage function and it should work.
-s
Torque Owner J. Alan Atherton