Download

Physics Constrain Rotation Problem

[INDENT=2]Hello,

I made a door that opens with mouse, but there is a problem and I don’t have any idea from which part of the script is coming and how to fix it.

Due do that fact that the door could do 360°, I have added physics constrain in order to restrict the door rotation. Once you open the door and release the mouse click, it came to the initial position. Here is the physics constrain settings, the element of the blueprint and the script for the rotation door.


Elements.PNG

And here is a video of the bug:

Any and all ideas would be much appreciated,
Alex[/INDENT]