Physics Constraint Actor Linear 'Offset'

Hi guys! I was working with the Physics Constraint Actor connecting a drawer to an island, enabling only a simple one-axis movement. The problem that occurred is that I could not find a preset so that my drawer would be in the default closed position, because the constraint allowed moving both forward and backward. The solution that came to mind was setting it halfway through it and making a pawn close it on BeginPlay, but obviously that is not the most efficient way of solving this so I was wondering if there was any way of setting an offset to the linear movement. I only found a similar thing for the angular movement constraint so if you guys have any suggestions to solve this issue please help me out!

any luck with this one ?

Hi there,

In my case I was able to add an “AddLocalOffset” node to my drawer’s mesh component after BeginPlay, which worked quite nicely.

you can [SetConstraintReferencePosition][1] at the BeginPlay.

1 Like