Lifting door rotation with hand interactions (VR)

I’m struggling with getting a door to rotate along the Y axis, going from a horizontal a to a vertical position.

I tried recycling the code from the “classic” door rotation on the X axis and using it for the Y axis, without much success. Well, actually it worked, to make a lowering door, but that’s not what I’m looking for ^^

Here’s the code, for reference:



The Min Angle value is 0 and the Max Angle value is 90, since it’s not shown in the code.

Any input is helpful, cheers