mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-18 06:37:12 +02:00
add TODO about optimizing character ray tracing
This commit is contained in:
parent
0a7870d5f3
commit
c2f5d19ddb
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue