[ODE] Tank simulation how?
Patrik Stellmann
patrik at volleynet.de
Mon Aug 4 04:48:01 2003
Csáki Péter wrote:
>Thanks for the tip.
>
>The details are: I have a box as the chassis and spheres as wheels. 3 wheels on both side. The proportions are like a normal vehicle's (slightly bigger wheels though). The joints between the wheels and body are hinge2 joints. They are locked by histop and lostop = 0.
>The ground is a trianglemesh. I have friction between the wheels and the ground and I drive the wheels by setting the hinge2's speed.
>
>What exactly happens is when I have a higher friction (contactmu) than the power of the wheels then the vehicle stays still (or moving very slowly forward or backward)
>When I have a smaller friction than the power of the wheels than the vehicle starts to spin a bit but in a very erratic way. (Sometimes it even stops.)
>
I have no experience with hinge2 yet but I wonder why you don't use a
simple hinge joint since you want to allow rotation along only one axis!?