Best way to scale and rotate Models ?

Blitz3D Forums/Blitz3D Beginners Area/Best way to scale and rotate Models ?

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.

Unfortunlty you can't get the number the model has been scaled. You need to store this yourself.

Create the box so it fits the mesh.
Store the amount the entity has been scaled.
Use this number and multiple the collision box boundries by it.

scale=2

entitybox mesh,x,y,z,width*scale,height*scale,depth*scale

something like that.