Jump to content
  • Advertisement

Archived

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

Dean Johnson

How to make measurements?

This topic is 5849 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

All right I know there might be a few ways to do this so I will just tell you what I have and what I am trying to do. I have an .x model of a craft that I load. I also have the .3ds file if that helps too. The craft us going to fall to a planet using an equation I have. The only problem is that I don’t know how to measure in my 3D world. I position my model 1000 units up Y and 5000 back on Z. I figure I could calculate the size in feet or meters by figuring out how tall my model would be in feet or meters and then dividing the result by the height of the model in the units used in the 3D world. But how do I find the height of the model in the 3D world? Is there a way I can do this in 3D studio Max? The way I am getting my model is that I export the model to the .x file format using a plug-in. Thanks

Share this post


Link to post
Share on other sites
Advertisement
One method in game would be to go through the vertices of the object and find the min and max of y (assuming y is your vertical axis). Then it would be easy to calculate the "height" of the object.

Always remember, you''''re unique. Just like everyone else.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!