Constraining the orientation of an object, but only in chosen axes

I’m trying to constrain (or otherwise limit the movement of, as with a BodyGyro) the orientation of a moving part in the Y and Z axes, whilst allowing the X axis to move uninterrupted. Is there any constraint or body mover that could be used for this, or would I need to script it manually (e.g. by force setting the Y and Z axes to what they were before every frame)

1 Like

If you want to constrain it to always be exactly on those axes, then you could use a hinge constraint, which allows a part to rotate around one axis but not the other two. You can also do this with a BodyGyro or an AlignOrientation by setting the max torque of the rotatable axis to 0.

1 Like