mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:49:24 +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.
|
// The avatar physics body always follows the _bodySensorMatrix.
|
||||||
glm::mat4 worldBodyMatrix = _sensorToWorldMatrix * _bodySensorMatrix;
|
glm::mat4 worldBodyMatrix = _sensorToWorldMatrix * _bodySensorMatrix;
|
||||||
getCharacterController()->setFollowParameters(worldBodyMatrix);
|
getCharacterController()->setFollowParameters(worldBodyMatrix);
|
||||||
|
|
||||||
DebugDraw::getInstance().addMarker("bodySensorMatrix", glmExtractRotation(worldBodyMatrix), extractTranslation(worldBodyMatrix), glm::vec4(1.0f));
|
|
||||||
} else {
|
} else {
|
||||||
_follow.deactivate();
|
_follow.deactivate();
|
||||||
getCharacterController()->disableFollow();
|
getCharacterController()->disableFollow();
|
||||||
|
|
Loading…
Reference in a new issue