6
$\begingroup$

In the game engine there is an option to constrain rigid body translations and rotations on an axis:

enter image description here

Is it possible to do this with the 3D view rigid body physics system?

$\endgroup$

2 Answers 2

6
$\begingroup$

In blender 2.80 (and likely earlier versions), you can selectively lock translation and rotation axes, limiting physics simulations to your choosing.

Do this in the Transform sidebar (hit N to toggle).

enter image description here

As seen above, both X and Y axis has been locked, forcing simulation to only translate along Z-axis, but otherwise rotate freely.

This can be handy for quickly placing objects using physics. For example:

enter image description here

$\endgroup$
2
$\begingroup$

This is currently supported only in the Game Engine.

As a possible workaround, you could bake the simulation to keyframes and then remove the transform channels which you don't want.

$\endgroup$
2
  • $\begingroup$ Is this answer still valid for 2.69? I have the same question as gandalf3. The slider constraint is too complicated. $\endgroup$ Jul 20, 2014 at 21:19
  • $\begingroup$ Also your alternative doesn't really work as a solution since the axis restrictions work on the solver per-frame. Disabling rotation on all three axes would prevent a ball from rolling down a hill for example. $\endgroup$ Jul 20, 2014 at 21:26

You must log in to answer this question.

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