Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Correct way to get bounding box of scene node?
#1
What's the correct way to get the bounding box of a scene node? There is SceneNode.WorldBoundingBox, but I don't think this updates the bounding box when it's dirty, so I've considered calling SceneNode.Update before accessing the WorldBoundingBox. Then I found Scene.UpdateSceneNodeWorldMatrixData(SceneNode), which is another option. So I'm not sure what the best way to get the up-to-date bounding box is.

On a related note, what is the correct way to get the up-to-date world matrix of the scene node?
  


Messages In This Thread
Correct way to get bounding box of scene node? - by zacfromaustinpowder - 10-01-2025, 05:40 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)