mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 00:56:45 +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,
|
const btVector3& end,
|
||||||
CharacterRayResult& result) const {
|
CharacterRayResult& result) const {
|
||||||
if (_world && _inWorld) {
|
if (_world && _inWorld) {
|
||||||
|
// TODO: we need to call btGhostObject::rayTest() here to reap the benefit of btGhostObject's optimizations
|
||||||
_world->rayTest(start, end, result);
|
_world->rayTest(start, end, result);
|
||||||
}
|
}
|
||||||
return result.hasHit();
|
return result.hasHit();
|
||||||
|
|
Loading…
Reference in a new issue