- Home /
how to rotate to mouse in an ismoetric plane
Any suggestions/syntax I should use when it comes to rotation on an ismometric plane. This code I use right now only works with the w/s keys but is what im trying to achieve but been struggling to get it to work when it comes to rotating towards the mouse. float ver = Input.GetAxis("Vertical"); Vector2 direction = new Vector2(0, ver); Vector2 directionVector = Vector2.ClampMagnitude(direction, 1); player.Rotate(directionVector);
Your answer
![](https://koobas.hobune.stream/wayback/20220613055136im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Changing the "Up" direction in the editor's perspective/iso views 0 Answers
isometric social games 0 Answers
Unity for 2D (isometric) pixel art game - how to keep the real size of the sprite in-game? 1 Answer
Isometric Raycast: misplaced origin & not updating position with TransformPoint 1 Answer
Unknown light from orthographic camera 0 Answers