- Home /
Question by
AttilaN2016 · Jan 11, 2016 at 08:32 AM ·
rotationrotate object
How can I lock the rotation angle at a certain point?
Currently it's working with A and D keys and turns 360°. Have can I lock it on both left and right sides?
It's a simpe table game with a sphare going down the track.
capture-20160109-143127.png
(127.3 kB)
capture-20160109-143339.png
(91.0 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612055548im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
how to make a detect rotation script for negative rotation too 2 Answers
When applying a 90 degree rotation to Euler Angles, it is over/undershooting sometimes.. 2 Answers
How do I rotate an object when I press down a key and then it rotates back when I release the key 0 Answers
how to rotate a gameobject in a given direction and stop when it's done 1 Answer
Translate speed keeps changing 1 Answer