x


Smooth rotation without using an update()?

Is it possible to have a smooth rotation of an object without using an update() -- such as for usage in static class files?

more ▼

asked Dec 21 '11 at 04:26 AM

ina gravatar image

ina
3.3k 492 547 596

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

1 answer: sort oldest

Quaternion.Slerp() should do the trick. But if you want it to continuously rotate smoothely the function has to be called every frame somehow, and that probably means in at least one Update() or FixedUpdate(), or a coroutine.

more ▼

answered Dec 21 '11 at 05:01 AM

Zergling103 gravatar image

Zergling103
201 6 8 11

(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:

x2155
x492
x276
x207

asked: Dec 21 '11 at 04:26 AM

Seen: 651 times

Last Updated: Dec 21 '11 at 05:01 AM