How do I restrict the movement of an actor to just one axis or only one rotation?

Hi,

You can set constrains for movable objects under the ‘Physics’ tab in the settings of a component that can simulate physics. You can restrict the axis that an object can move or rotate on under the ‘Constraints’ tab.
Your example with the drawer might be a bit trickier tho, as I am not aware of any settings that can limit how ‘far’ the object can travel from it’s original location, I think this needs to be done in code/Blueprints.

Wouldn’t making a drawer opening/closing animation be a better idea, as it seems to be a very constrained and predictable animation that doesn’t require actual physics simulation? Of course this might be not the case in your game.