Help ,please, panda3d.ode

I am using Ode.I have a model which must walk in a not flat ground(with rocks). Please tell me how can I do that?My model tries to walk through a rock.

Your stone must be an ODE body.

object = loader.loadModel("stone") 
object.flattenLight() 
groundTrimesh = OdeTriMeshData(object, False)

https://docs.panda3d.org/1.10/python/programming/physics/ode/collision-detection#geometry

1 Like

Ok thanks,and what I should do if me ground is hilly?
The problem isn’t in world,it is in how must I move(lift) my model on the hill?

With the help of a ray, or physical body, but in this case you lose full control. The beam will be preferable, you will need to use the terrain hold, as in the example with Ralph. To be honest, ODE is deprecated, now they are using a bullet.

1 Like