Mesh Dimensions

Blitz3D Forums/Blitz3D Programming/Mesh Dimensions

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.

Hi all :) Is there any way of having control over the dimensions of mesh/entity. I am trying to have the option to load a 3D object in and have the user type in the dimensions so that the object resizes to fit the specified height and width from the users input. Is there any way to do this?

Cheers

Ash

http://www.blitzbasic.com/b3ddocs/command.php?name=FitMesh&ref=3d_a-z

So ...

Width# = 10
Height# = 2
Depth#, 15

FitMesh Mesh , -Width*.5, -Height*.5, -Depth*.5, Width, Height, Depth.

Stevie.

Thankyou once again Stevie :) You're a star!

Ash