Archived

This topic is now archived and is closed to further replies.

Mesh Transformation Questions

This topic is 5509 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi...I have a mesh loaded into my world, and I''m trying to use D3DXComputeBoundingBox for collision detection. When I load the mesh, its much smaller than it should be to fit in my scene, so I scale and translate it....but the max and min of the bounding box returned reflect the original size and location of the mesh'' vertices before transformation. There''s got to be a way to get values using the transformed location. Maybe D3DComputeBoundingBox isnt the way to go, I''m not sure how else to generate a box. Any thoughts would be greatly appreciated. Thanks!

Share this post


Link to post
Share on other sites