Also take the current BVH nodes transform into account.
Modified Files: src/FDM/groundcache.cxx
This commit is contained in:
parent
ee9dc0c93a
commit
c56b2f0047
1 changed files with 2 additions and 3 deletions
|
@ -474,11 +474,10 @@ public:
|
|||
|
||||
if (_id == transform.getId()) {
|
||||
_foundId = true;
|
||||
return;
|
||||
} else {
|
||||
transform.traverse(*this);
|
||||
}
|
||||
|
||||
transform.traverse(*this);
|
||||
|
||||
if (_foundId) {
|
||||
SGMatrixd toWorld = transform.getToWorldTransform(_time);
|
||||
SGVec3d referencePoint = _bodyToWorld.xformPt(SGVec3d::zeros());
|
||||
|
|
Loading…
Reference in a new issue