1
0
Fork 0

Also take the current BVH nodes transform into account.

Modified Files:
	src/FDM/groundcache.cxx
This commit is contained in:
frohlich 2009-06-07 11:24:42 +00:00 committed by Tim Moore
parent ee9dc0c93a
commit c56b2f0047

View file

@ -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());