How to tell if an object is on the ground

Post Reply
3DModelerMan
Posts: 20
Joined: Thu Oct 22, 2009 2:02 pm

How to tell if an object is on the ground

Post by 3DModelerMan »

How can I test if an object is on the ground? Just a normal rigid body.
sparkprime
Posts: 508
Joined: Fri May 30, 2008 2:51 am
Location: Ossining, New York
Contact:

Re: How to tell if an object is on the ground

Post by sparkprime »

You can check its position or you can check its contacts to see which other objects it is in contact with.
3DModelerMan
Posts: 20
Joined: Thu Oct 22, 2009 2:02 pm

Re: How to tell if an object is on the ground

Post by 3DModelerMan »

My ground isn't just a plane though, it's a terrain. I need to know if the object is on the terrain within a maximum angle.
Post Reply