Some of you may remember me posting about keeping my runtime-created avatar upright in an ODE environment.
I never solved that, so I switched to a normal 3D model.
Problem is, how do I get that model to behave nicely (i.e, not run through things, react to gravity, etc…) in my ODE sandbox?
Right now, I have something like:
if avatar_z is > other_model_z: pass else: if avatar_x < other_model_x: move_backward else: move_forward if avatar_z > other_model_z: move_down
This somewhat works, but my avatar occasionally slides through other models, or, when it touches a model on its left or right side, moves forward by itself until it no longer touches the other model.
Any algorithms or code snippets would be appreciated!