Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Implementing a Floor

  1. #1
    Intern Newbie
    Join Date
    Feb 2002
    Posts
    35

    Implementing a Floor

    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.

  2. #2
    Junior Member Newbie
    Join Date
    May 2002
    Location
    Falls Church, VA USA
    Posts
    10

    Re: Implementing a Floor

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •