x


How do I rotate an object but keep it's direction

My object is moving left/right - when I rotate it around the Z axis it starts to loop around and stay in the same spot. I want the movement on the X axis to not be affected by the Z axis rotation.

How can I do this thanks?

more ▼

asked Jun 26 '11 at 07:42 AM

Skuzzbag gravatar image

Skuzzbag
26 10 10 14

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

2 answers: sort voted first

try to toggle from local to world!

more ▼

answered Jun 26 '11 at 08:24 AM

henry96 gravatar image

henry96
597 16 20 23

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

Thanks I was rotating the object in Space.World but not translating it in Space.World!

Cheers :).

more ▼

answered Jun 26 '11 at 10:08 AM

Skuzzbag gravatar image

Skuzzbag
26 10 10 14

Please dont use a new answer to comment on an answer. Please read the FAQ of how to use UnityAnswers. Its build like the http://StackOverflow.com community. 1 Question, multiple answers with multiple commments pr. answer. A reply to an answer is NOT a new answers. So if you remove this answer your -1 will also go away.

Jun 26 '11 at 12:31 PM BerggreenDK
(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:

x2165
x322

asked: Jun 26 '11 at 07:42 AM

Seen: 583 times

Last Updated: Jun 26 '11 at 12:31 PM