SDK Question Find Max Height of a Mesh

JMW

Aspiring Addon Developer
Joined
Aug 5, 2008
Messages
670
Reaction score
89
Points
43
Location
Happy Wherever
Hi All,

Is there a way to find the highest part of a mesh, and of a building in a .cfg file ? (eg: .y of scale ?)
(Tall order eh ! - Excuse the pun)

Needed to hone an approach autopilot.

Many thanks.
 
"ShipEdit.exe" (/Orbitersdk/Utils/ folder) will give you the "bounding box" for the mesh (max and min x,y,z points).
Any good?
EDIT: If its a building on a base, specified by a .cfg file, then you should multiply by .cfg Y Scale parameter, and add Y Pos parameter (I think!)
 
"ShipEdit.exe" (/Orbitersdk/Utils/ folder) will give you the "bounding box" for the mesh (max and min x,y,z points).
Any good?
EDIT: If its a building on a base, specified by a .cfg file, then you should multiply by .cfg Y Scale parameter, and add Y Pos parameter (I think!)
Sounds good BrianJ, thank you.
I'll give it a go :cheers:
 
Back
Top