That sort of worked, i can now open the door up to 90 degrees and it stops at every step of the animation. Problem now is that i havnt figured out how to close the door again, i can rotate it up but it wont rotate it negatively so it cant be closed at the moment.