Game Development Community

Do mounted objects have collision?

by John Cooney · in Torque Game Engine · 01/03/2005 (6:53 am) · 2 replies

For example I want to mount a door that switches meshes once a vehicle collides into it and right now I'm treating the door as a mounted object.

#1
01/03/2005 (11:55 pm)
Short answer: Nope...
#2
01/06/2005 (11:53 pm)
Long answer:

If I am not mistaken, if the bounding box of the player object extends beyond that of the vehicle, even if mounted, the player object will take damage if struck by a projectile.

If you look in projectile.cc, you'll see that collision information does not take mounting into account, only the bounding box that is struck.