Scene file and collision detection

sensius

12-08-2008 10:03:36

Hi guys,

My application starts with a *.scene file for all objects (including some animation). I have an avatar and have to simulate a FPS with his.
And collision detections are required (such as the avatar could not walk through wall, windows,.. but he can walk through opened-doors..).

I used Ogre RaySceneQuery for collision detection but it just work on bounding box, and I want to move to OgreNewt.

I'm so new to OgreNewt. Could anyone give me some hints please?

thanks in advance

feanor91

12-08-2008 16:20:36

Hello

I've made a class that implement what you want, exept that she use the .osm scene format (oFusion).

You can take it here : http://www.vbfrance.com/codes/CLASSE-UT ... 47581.aspx

Have fun with Newton....

sensius

13-08-2008 02:58:58

Merci feanor91 pour votre réponse.