Game Development Community

Adding item colisions

by Skylar Kelty · in Torque Game Engine · 04/01/2006 (4:06 am) · 2 replies

Hi,

I know ive asked a lot in the past few days, this will be my last post for a while, I promise.
How do you add a collision mask? I want projectiles to collide with trees (StaticShapes). I have added
StaticShapeType |
to projectile.cc
but I dont know where to declare the identifier.

#1
04/01/2006 (7:08 am)
Maybe I misinterpreted your post. Projectiles should already collide with StaticShapes, you must include the collision box within the model however.
#2
04/02/2006 (11:14 am)
Ah, thankyou