0
$\begingroup$

In the Blender Game engine, I used servo control to try to get a cube to move. Instead, it rolled. Below are the settings for the servo control actuator:

enter image description here

And here is a picture of it rolling:

enter image description here

Also, the yellow cube (Character being controlled) has rigid body physics, and the ground (white) is static.

How can I stop this?

$\endgroup$
  • $\begingroup$ I tried locking the rotation on the -axis, and it worked. However, I eventually want the cube to be able to rotate as it goes downhill. $\endgroup$ – Henry V May 3 '15 at 21:50
  • $\begingroup$ Oops. I just forgot to add collision bounds! $\endgroup$ – Henry V May 3 '15 at 22:02
  • $\begingroup$ Yes, and because of the friction on the ground, it is trying to drag your cube along the ground. It is easier for the cube to roll than to be dragged along, so it roles. changing the collision bounds will make it tumble instead of roll. (with enough force) $\endgroup$ – X-27 May 3 '15 at 22:39
1
$\begingroup$

Make the cube dynamic.I think it rolls cause it has rigid attributes.

$\endgroup$
  • $\begingroup$ I think i fixed my issue by just adding collision bounds! I had forgotten them earlier! $\endgroup$ – Henry V May 3 '15 at 22:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.