Confusion with scalemesh

Blitz3D Forums/Blitz3D Beginners Area/Confusion with scalemesh

Mike0101(Posted 2006) [#1]
I have a map (a b3d file) and I have to load with loadAnimmesh command because of my zone system.
When I must resize the map I have to use ScaleMesh instead of ScaleEntity (because of my shadowsystem)
When I'mi using scaleMesh, it happens nothing. When I'm using my recursive function to resize the mesh (getchild()) , it disapears.
How can I resize a mesh loaded with LoadAnimMesh?


Dreamora(Posted 2006) [#2]
You have to use the getChild way but you have to reposition it afterwards as it does not scale from 0,0,0 Point as the scale entity command does (which just changes the transformation matrix)

"disappear" sounds like your cam ends below the mesh.


Mike0101(Posted 2006) [#3]
Right you are. I was find the problem too, but I can't reposition. How can?