Skip to content
Snippets Groups Projects
Commit 6b67d1dc authored by D-AIRY's avatar D-AIRY
Browse files

Added debug info

parent 6c0c492d
Branches
Tags
No related merge requests found
Pipeline #26 failed
...@@ -1026,7 +1026,7 @@ void btKinematicCharacterController::setUpVector(const btVector3& up, bool skipG ...@@ -1026,7 +1026,7 @@ void btKinematicCharacterController::setUpVector(const btVector3& up, bool skipG
if(!m_ghostObject || skipGHost) return; if(!m_ghostObject || skipGHost) return;
btQuaternion rot = getRotation(m_up, u); btQuaternion rot = getRotation(m_up, u);
printf("Transforming player physbase with: %.2f %.2f %.2f %.2f\n", rot.x(), rot.y(), rot.z(), rot.w());
//set orientation with new up //set orientation with new up
btTransform xform; btTransform xform;
xform = m_ghostObject->getWorldTransform(); xform = m_ghostObject->getWorldTransform();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment