mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
removed DebugDraw calls
This commit is contained in:
parent
961d262df1
commit
62dc250237
1 changed files with 0 additions and 2 deletions
|
@ -1372,8 +1372,6 @@ void MyAvatar::prepareForPhysicsSimulation(float deltaTime) {
|
|||
// The avatar physics body always follows the _bodySensorMatrix.
|
||||
glm::mat4 worldBodyMatrix = _sensorToWorldMatrix * _bodySensorMatrix;
|
||||
getCharacterController()->setFollowParameters(worldBodyMatrix);
|
||||
|
||||
DebugDraw::getInstance().addMarker("bodySensorMatrix", glmExtractRotation(worldBodyMatrix), extractTranslation(worldBodyMatrix), glm::vec4(1.0f));
|
||||
} else {
|
||||
_follow.deactivate();
|
||||
getCharacterController()->disableFollow();
|
||||
|
|
Loading…
Reference in a new issue