Game Development Community

Collision detection with ground/dif?

by James Bourke · in Torque Game Engine Advanced · 12/03/2007 (3:57 pm) · 1 replies

Hello, I've created a flying vehicle and the model collides with the ground and other objects in game but I only recieve an onCollision call when the airplane collides with other dts models. How do you detect a ground collision or collision with a dif model?

#1
01/04/2008 (11:57 am)
Use a contact Normal
i think there was a timer (contactTimer), that counts ticks when you're over the ground, if contactTimer>0 then you're flying.