0
$\begingroup$

I want to limit the rotation of a physical object on two axes so that it rotates only on the X axis. However, Rigid Body Constraint has no effect. How can I fix this?

$\endgroup$
6
  • $\begingroup$ Hi! First you could "fix" your question, because you gave us exact zero information what you tried. Since it seems like you are a Blender beginner, pls provide blend file so we can check it out on our own and we don't have to ask a lot of questions in the comments, thx. $\endgroup$
    – Chris
    Commented Aug 29, 2023 at 16:17
  • $\begingroup$ and second i wanna say it would be good to use "i cannot make the rigid body constraint work" instead of "doesn't work" which sounds to me like you think it is a bug. $\endgroup$
    – Chris
    Commented Aug 29, 2023 at 16:18
  • 1
    $\begingroup$ @Chris, .blend file: mega.nz/file/… $\endgroup$
    – R1senDev
    Commented Aug 29, 2023 at 16:23
  • $\begingroup$ thx, i assume, you want exactly that what John proposes? that works in that way i understood your question -> important: you have to delete your rigid body cache before, else you won't see the change $\endgroup$
    – Chris
    Commented Aug 29, 2023 at 17:16
  • $\begingroup$ Rigid Body constraint is supposed to create a hinge between 2 objects that have Rigid Body themselves, is it the case? $\endgroup$
    – moonboots
    Commented Aug 29, 2023 at 17:21

2 Answers 2

1
$\begingroup$

You should explain in detail what you want to achieve. For the moment maybe you've mistaken what is Rigid Body Constraint, it is supposed to create a hinge between 2 objects that have Rigid Body themselves (see below), which doesn't seem to be what you want.

I don't think that you can constraint the rotation axis of a rigid body falling (Limit Rotation constraint doesn't seem to constrain an active rigid body either), except with some tricks like for example a double wall (Rigid Body > Passive):

enter image description here

A quick explanation of Rigid Body Constraint: Create 3 objects, here the top object is a Rigid Body passive with the Animated option activated, the bottom object is a Rigid Body active. The empty (it could be a mesh object as well) is the object with the Rigid Body Constraint, Type > Hinge, rotate it 90° on Y so that its local Z axis will be the axis of rotation, choose top object as first object and bottom object as second object (note that you could only use 2 objects, the empty here could have the constraint and you choose it as first object):

enter image description here

Result:

enter image description here

$\endgroup$
0
$\begingroup$

Since you haven't provided any details of exactly what you're trying to do, I'm going to give the simplest possible answer!

Click the padlock icons against the Y and Z Rotation settings on the Transform panel. Your object will now only be allowed to rotate in the X direction.

enter image description here

Now you've supplied your file, this is your file with those settings applied:

$\endgroup$
0

You must log in to answer this question.

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