I got a blueprint door system that allows me to rotate a door using mouse input (InputAxisTurn). I want to achieve similar to the doors in the game Amnesia where you open and close the door based on your mouse movement.
Thus far i am Linetracing my door BP and from there i rotate the door using InputAxisTurn as an rotation input. While i am rotating the door my ordinary mouse input look is locked while i am holding down right button to rotate the door.
This works good, but i want to take it a step further and limit the doors rotation to become more realistic (now it got inifinite rotation) and want to limit it to like 90 degrees one way.
I am completely stuck now and i am wondering if you guys have any tips or help for this?
Linetrace part 01
Linetrace part 02
MouseInput to rotate door function