3
$\begingroup$

I'm experiencing some strange behaviour on a rigid body simulation. First I'll explain my situation a little bit.

There is half a cube and a cylinder, both with an active rigid body. The cylinder is attached to the cube with a hinge rigid body constraint so it can rotate like a wheel. The cylinder also has motor constraint attached to another small cube (passive rigid body).

With this setup I would expect that the wheel keeps spinning in the same angular direction but it doesn't. In the animation below you can see that the angular rotation of the motor reverses when crossing the Y axis on the world axes.

http://s27.postimg.org/4jha0ugkh/mechani_small.gif

Any idea how I can overcome this problem? I just want the wheel to be spinning in one direction while dragging the cube along with it.

UPDATE

Bithur's solution works like a charm:

http://s10.postimg.org/6jhof0buv/mechani_02.gif

Here is the file:

$\endgroup$

1 Answer 1

3
$\begingroup$

Changing the Object 2 to geo_body in the motor parameters seems to solve the problem
enter image description here

$\endgroup$
1
  • $\begingroup$ @wout glad to help, and thanks for the fixed animation :) $\endgroup$
    – Bithur
    Aug 8, 2015 at 19:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .