Get component(door) rotation relative to physics constraint

Hi guys,

I’m trying to get the rotation/swing of the door relative to it’s physics constraint. But when i try to use GetCurrentSwing1 it always returns 0 despite the current rotation of the door. Is there another way to calculate it or i’m just missing something.

And also i want to get the same angle only depending on the rotation relative to physics constraint swing.

Thanks.



1 Like

Did you ever figure this out? I’m having the same issue.

When I log the output of these nodes, Get Current Swing 1 prints out an absurdly high number (5000+, though my constraint is limited to 90 degrees and works fine in game), and the others only print 0.

Furthermore, swing 1 and swing 2 are locked on my constraint, and it’s only the Twist axis that is moving.