remove warning about unused variable

This commit is contained in:
Andrew Meadows 2016-10-05 13:43:22 -07:00
parent 084a1cf8ae
commit 5154e98a2e

View file

@ -209,7 +209,6 @@ bool CharacterController::checkForSupport(btCollisionWorld* collisionWorld, btSc
if (stepContactIndex > -1 && highestStep > stepHeight) {
// remember step info for later
btManifoldPoint& contact = contactManifold->getContactPoint(stepContactIndex);
btVector3 pointOnCharacter = characterIsFirst ? contact.m_localPointA : contact.m_localPointB; // object-local-frame
btVector3 normal = characterIsFirst ? contact.m_normalWorldOnB : -contact.m_normalWorldOnB; // points toward character
stepHeight = highestStep;
stepNormal = normal;