From c2f5d19ddbb70e1d8928bdf52a3b3c30a0dc898a Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Thu, 31 May 2018 10:21:14 -0700 Subject: [PATCH] add TODO about optimizing character ray tracing --- libraries/physics/src/CharacterGhostObject.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/physics/src/CharacterGhostObject.cpp b/libraries/physics/src/CharacterGhostObject.cpp index a771a52384..c2f85d5a50 100755 --- a/libraries/physics/src/CharacterGhostObject.cpp +++ b/libraries/physics/src/CharacterGhostObject.cpp @@ -69,6 +69,7 @@ bool CharacterGhostObject::rayTest(const btVector3& start, const btVector3& end, CharacterRayResult& result) const { if (_world && _inWorld) { + // TODO: we need to call btGhostObject::rayTest() here to reap the benefit of btGhostObject's optimizations _world->rayTest(start, end, result); } return result.hasHit();