Basic collision

slinky

24-04-2007 08:40:18

Im new to ogre and have downloaded Nxogre to use for collision only. Are there any tutorials that would show me how to use Nxorge just for collision using convex hulls? The tutorials with Nxogre seem to be aimed at the physics side of things.

luis

24-04-2007 13:17:42

I think you should use the Ogre's raycasts or OgreOpCode:
http://ogreconglo.sourceforge.net/index ... troduction

slinky

24-04-2007 16:19:26

I had i look. It does not seem to support convex hulls at present. I just need i simple tutorial to show me how to create a convex hull for a mesh. Thankyou.

betajaen

24-04-2007 16:46:20

Then it's NxTutorial104, or more basically mScene->createBody(..., new ConvexShape("mymesh.mesh"), ... ).

As your using NxOgre just for collision then you'll need to turn of the collision response. I don't know the exact code, but I believe you pass on a flag to the mPhysicsSDK instance. I'm sure the PhysX documentation help file will describe this, and I can remember at least one topic on the Ageia help forums about it too.