added a paper name for info in exponential map, part of the Bullet motion equation
This commit is contained in:
@@ -70,7 +70,9 @@ public:
|
|||||||
predictedOrn += (angvel * predictedOrn) * (timeStep * btScalar(0.5));
|
predictedOrn += (angvel * predictedOrn) * (timeStep * btScalar(0.5));
|
||||||
predictedOrn.normalize();
|
predictedOrn.normalize();
|
||||||
#else
|
#else
|
||||||
//exponential map
|
//Exponential map
|
||||||
|
//google for "Practical Parameterization of Rotations Using the Exponential Map", F. Sebastian Grassia
|
||||||
|
|
||||||
btVector3 axis;
|
btVector3 axis;
|
||||||
btScalar fAngle = angvel.length();
|
btScalar fAngle = angvel.length();
|
||||||
//limit the angular motion
|
//limit the angular motion
|
||||||
|
|||||||
Reference in New Issue
Block a user