Thrakbad
18-12-2010 13:09:22
I just started with OgreBullet and looked at the tutorials in the wiki. Now I want to convert a mesh from Ogre to a body in OgreBullet.
As I understood it, I have to create a scene node and entity in Ogre as normal, then I have to get the collision shape from the mesh data and then create a rigid body with the collision shape and scene node, is that correct?
How do I convert the mesh data to a collision shape? It seems every example I found so far only deals wth boxes, which doesn't help me.
As I understood it, I have to create a scene node and entity in Ogre as normal, then I have to get the collision shape from the mesh data and then create a rigid body with the collision shape and scene node, is that correct?
How do I convert the mesh data to a collision shape? It seems every example I found so far only deals wth boxes, which doesn't help me.