Add worldPosition(bool recalculate = false)
Closed this issue · 1 comments
phr00t commented
On a transform, there isn't a "worldPositon" getter, like there is for simple "position". World position is currently stored in the WorldMatrix of the last frame, which can be grabbed via TranslationVector. However, if you want the latest frame, you need to recalculate the WorldMatrix. It would be nice if there was an encompassing worldPosition that gave you the option of getting the quick "last frame" location, or recalculating it for now.