How to define an phy object on floor or not??

spe02001

17-12-2009 05:26:40

How to define an phy object on floor or not??

deshan

17-12-2009 06:30:39

use a NxOgre::Ray with NxOgre::Vec3(0,-1,0) direction.
Then get hit distance and compare it with predefined distance