x


360 Angle Camera Rotate

Hello Eveybody,

I have a little question for you... I developing a RTS game... I want turn left and right 360 angle with mouse scrool wheel... I need your helps. How can i make that...

Regards

more ▼

asked Jul 13 '10 at 02:27 PM

Vincenzo Albery gravatar image

Vincenzo Albery
49 20 23 34

(comments are locked)
10|3000 characters needed characters left

2 answers: sort newest

3D Camera Rotations can be pretty tricky. To get started, I would take a look at the 3D Platformer tutorial, located here:

http://unity3d.com/support/resources/tutorials/3d-platform-game.html

Follow the steps up to chapter 3 or so and they will go over their camera scripts. If your understanding of scripting is up to par, you will be able to modify those scripts to work as a 3D Camera for an RTS. (You will want to zoom way out and bind a Z rotation to your mousewheel.) If you are completely new to scripting, you definitely want to search for some good tutorials (3D Platformer is not the easiest one to start with):

http://answers.unity3d.com/questions/4897/how-can-i-start-learning-unity-fast-list-of-tutorials

more ▼

answered Jul 13 '10 at 04:30 PM

Thom Denick gravatar image

Thom Denick
1.9k 13 20 38

(comments are locked)
10|3000 characters needed characters left

Have a look at the integrated MouseOrbit script (select your Camera; choose Scripts > Camera Control > MouseOrbit). You can adapt that one to your needs.

more ▼

answered Jul 13 '10 at 04:32 PM

felix. gravatar image

felix.
1.9k 18 23 47

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2994
x286
x38

asked: Jul 13 '10 at 02:27 PM

Seen: 2089 times

Last Updated: Jul 18 '11 at 09:20 PM