Message 1 of 2
Entity BoundingBox vs Room BoundingBox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I can get the BoundingBoxXYZ of an entity and set a View3D's section box to equal this, but the result is a section box of the right size in the wrong place. I think it's something to do with the the entities coordinate system being relative to the model and the section box coordinates being relative to the view, but am unsure, and definitely have no idea how to transform them!
I've tried reading the API doc's, but the kind of maths in there related to transformations is alien to me, and there aren't sufficient examples for me to crib from.
When using get_BoundingBox I've tried passing it the View3D and null, neither of which work.
Can anyone offer an example of setting a View3D's section box to the boundingbox of an entity?
Thanks.
I've tried reading the API doc's, but the kind of maths in there related to transformations is alien to me, and there aren't sufficient examples for me to crib from.
When using get_BoundingBox I've tried passing it the View3D and null, neither of which work.
Can anyone offer an example of setting a View3D's section box to the boundingbox of an entity?
Thanks.