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?
Jan 24 '12 at 01:53 PM
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?
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.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Jan 24 '12 at 01:53 PM
Seen: 765 times
Last Updated: Jan 24 '12 at 02:04 PM
Determining the torque needed to rotate an object to a given rotation
Rotation quaternion to angular velocity
object facing wrong way, Java script Quaternion
Need help with rotation
How to save rotation with PlayerPrefsX?
Turning a gameobject around 180 degress
configurable joint targetrotation: How to compute it
Align GameObject to Terrain angle
Rotating an object to equal normals of object below
Using Configurable Joints to create Pinball Flippers?