formatting and minor bug fix

This commit is contained in:
Xuchen Han
2020-03-19 12:29:00 -07:00
parent 19ed1c952a
commit 5d26efd988
3 changed files with 7 additions and 16 deletions
@@ -7483,8 +7483,7 @@ bool PhysicsServerCommandProcessor::processRequestActualStateCommand(const struc
body->m_rootLocalInertialFrame.getRotation()[3];
btVector3 center_of_mass(sb->getCenterOfMass());
sb->updateTransform();
btTransform tr = sb->getWorldTransform();
btTransform tr = sb->getRigidTransform();
//base position in world space, cartesian
stateDetails->m_actualStateQ[0] = center_of_mass[0];
stateDetails->m_actualStateQ[1] = center_of_mass[1];