Actually make the result transform of a collision pick just a position, as documented

This commit is contained in:
sabrina-shanman 2018-09-27 17:07:03 -07:00
parent 44efe648e0
commit e7c70705b2

View file

@ -430,5 +430,7 @@ PickResultPointer CollisionPick::getHUDIntersection(const CollisionRegion& pick)
}
Transform CollisionPick::getResultTransform() const {
return Transform(getMathematicalPick().transform);
Transform transform;
transform.setTranslation(_mathPick.transform.getTranslation());
return transform;
}