x


Torque towards Quaternion.

One thing that boggles my mind is how I could apply an angular force towards a given Quaternion.. It's been a long day and I can't think anymore.. Anyone have any ideas on how I could do this?

more ▼

asked Jan 24 '12 at 01:53 PM

Rush3fan gravatar image

Rush3fan
293 32 43 47

Well, a quaternion isn't exactly an absolute rotation in itself. It describes the difference between two rotations in a way that avoids gimbal-lock. In any case, you probably want some kind of damping algorithm- I assume you want it to slow down and stop at the correct value?

Jan 24 '12 at 01:59 PM syclamoth

Yes, but setting the rotation seems to make the simulation less smooth. I have had the most success setting all the vectors using forces and velocities only, now I just have to focus on rotation.

Jan 24 '12 at 02:04 PM Rush3fan
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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:

x2163
x439
x48
x17
x9

asked: Jan 24 '12 at 01:53 PM

Seen: 765 times

Last Updated: Jan 24 '12 at 02:04 PM