What is the use of OgreNewt::PlayerController ?

Ramdac

09-03-2011 00:27:55

Hi,

What is the use of OgreNewt::PlayerController and do i have to always use it to move my character instead of using Ogre::SceneNode::translate method ?

Another question please what is the most suitable Collision Primitives to use it with a mesh character such as "gign.mesh" (the character in counter strike 1.6) ?

Last question how can i deal with the bsp maps such as chiropteradm.bsp (I am using BspSceneManager with using setWorldGeometry) how can i make OgreNewt's World interact with such a map ?

Thanks in advance

tod

20-03-2011 17:43:42

-The player controller also takes care of collisions, meaning you have a newton body that can collide with other objects and the camera is attacked to it.
-My guess would be to use a capsule or ellipsoid.
-I think you could feed all the triangle data to Newton and create some static geometry.