PDA

View Full Version : Implementing a Floor



escozooz
05-06-2002, 06:37 PM
What is a common way of implementing a floor? i.e. keeping the characters feet on the ground. This entails if the floor slants so will the character.

Dave.D
05-07-2002, 07:14 AM
You could use a line-poly intersection test to find the point of collision. To slant the character just use the collided poly's normal vector as the character's up vector.