Positioning Meshes

Blitz3D Forums/Blitz3D Programming/Positioning Meshes

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Halo just posted functions for getting the extents of a mesh, its a one time calculation/transformation on load if you dont want to fix it in the model files.

your other choice is to scale the y position when you scale the model:

new_ypos = terrain_y + ((old_ypos - terrain_y) * scale_factor)