- Home /
Question by
markpollard · Apr 24, 2010 at 09:43 PM ·
cameracubepan
Making a camera Pan around a cube
HI i want to make the camera pan around a cube, i want this camera to move with any mouse or keyboard controls.
Whats the best way of achieving this.
thanks
Comment
Answer by spinaljack · Apr 24, 2010 at 10:30 PM
Unity has a built in script called mouse orbit, you can target that at the cube to make it orbit the cube. I assume that's what you meant by pan.
Your answer
![](https://koobas.hobune.stream/wayback/20220612190638im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to do perspective camera zoom? 1 Answer
Move a cube on it's edges 2 Answers
First person controller taking off. 0 Answers
How can I set limits to camera pan on X and Y axis 1 Answer
Error about Camera panning. 0 Answers