Projectile Class Containor Collision
by Matt "Mr. Pig" Razza · in Torque Game Engine · 07/28/2007 (12:14 pm) · 1 replies
I'm wondering if anyone can help me get projectile collisions working with TSStatic Objects.
That code (the default projectile code) will not find TSStatic objects, or objects derived from the TSStatic class. csmStaticCollisionMask does have one of the object enum types that TSStatic shape has...
any ideas?
if (getContainer()->castRay(oldPosition, newPosition, csmDynamicCollisionMask | csmStaticCollisionMask, &rInfo) == true)
That code (the default projectile code) will not find TSStatic objects, or objects derived from the TSStatic class. csmStaticCollisionMask does have one of the object enum types that TSStatic shape has...
any ideas?
About the author
Torque Owner Matt "Mr. Pig" Razza