Physics Door - Close?

Hi, I was able to set up a door based on a hinge with a physics constraint.
Mostly everything works well, but the only problem is the door will not stop swinging once it’s been opened/moved.
I used swing limit stiffness/damping - and so now the door swing will slow down over time but it still never stops.

Ideally I’d like it to stop once it reaches a certain position (Closed)

Any ideas? thank you.

You could potentially see if its position/rotation is what its initial position/rotation was and if it is (assuming the initial position is closed) then you could set the velocity to 0 to stop it from moving.

I’m certain this will work, thank you. The only problem is that I’m not sure how to get a components relative rotation inside of a blueprint.

I can use get world rotation, but that gets the location of the entire actor, so it doesn’t change in game. What should I do?

You can use the Get Relative Transform node for the specific component, and then either break the transform, or right click on the orange Return Value pin and click “Split Node”. That will give you relative location, relative rotation, and relative scale.

This worked! thanks.