- Home /
Question by
Gaming Worlds · Jan 09, 2016 at 07:19 PM ·
movementgameplay
How to make circle circle itself when pressing buttons?
So I want the circle to spin around itself when the player presses the arrow key?
What is a simple script to make it do that?
Comment
Best Answer
Answer by toddisarockstar · Jan 09, 2016 at 07:35 PM
if(Input.GetKey("right")) {transform.Rotate(Vector3(0,5,0) );}
Your answer
![](https://koobas.hobune.stream/wayback/20220612055607im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Making a bubble level (not a game but work tool) 1 Answer
Choppy y-axis crane movement when grabbing food, not dropping food on target 0 Answers
How do I disable the Character controller but keep velocity? 3 Answers
3D Object Jump Glitch 0 Answers