Simple way of getting BoundingBox?
I have looked on the internet and there is a few different ways but they don't seem to work for me. I have a Model called model1 and a matrix for it called maxtrix1, how do i get its min and max from these? Sorry for this question but it has been bugging me
Are you calculating this bounding box each frame, what requirements do you have in terms of efficency and precission? One way to this would be to apply the matrix to each mesh, then check the result of this multiplication against the previous multiplication if it is lower set it as the new minimum.. Finding the max values would be done in the same way, but instead check if its greater than the last one raither than smaller. I might be able to help/elaborate more if you can explain why all the solutions you found on the interwebs didn't work for you :)
Pass variables to another class?
Xna Game referencing Game in update
XNA game studio simple sprite animation
XNA phase management
How to check BoundingSphere for one ModelBone?
MonoGame: Some VertexColorPosition dissappear while drawing user primitives(DrawUserPrimitives)
Testing XNA 4.0 games On the XBOX 360 without paying $100 [duplicate]
Detecting clicks in a non-rectangular shape
What's a good way to optimise rendering a 2D tile game in XNA?
How to make 3D racing game with XNA? [closed]
How to correctly accelerate a rotated 3d model in XNA?
What's the difference between world and view for purpose of camera?
Vertexbuffer Getdata VertexPositionNormalTexture
Converting from 3.1 to 4.0… gamestates
XNA large coordinates and float precision
Trying to make Gaussian Blur stronger/blurrier - XNA 4.0 HLSL