- Home /
Question by
DouglasMassey · Sep 13, 2021 at 10:24 AM ·
rotationrotaterotate object
How to make a continous swivel? Rotation
I am looking to create a 'security camera' that swivels back and forth. By that, I mean that when I want it to continuously rotate between -45 degrees and 45 degrees on the y axis. I've tried doing this but no matter what I try it simply continuously rotates, never switching direction. Does anyone know what I should do?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613042902im_/https://answers.unity.com/themes/thub/images/avi.jpg)