Move and Translate

Blitz3D Forums/Blitz3D Beginners Area/Move and Translate

SkyCube(Posted 2005) [#1]
Can someone please explain the difference between MoveEntity and TranslateEntity? Thanks.


DJWoodgate(Posted 2005) [#2]
I think the docs explain it quite well.
http://www.blitzbasic.co.nz/b3ddocs/command.php?name=MoveEntity&ref=3d_cat
http://www.blitzbasic.co.nz/b3ddocs/command.php?name=TranslateEntity&ref=3d_cat


SkyCube(Posted 2005) [#3]
Thanks. The programs helps seems to be lacking information (I just updated my blitzdoc last night so maybe there is more info now).


Ross C(Posted 2005) [#4]
Translate moves an entity along the Global XYZ axis. It's a bit like PositionEntity. MoveEntity moves the entity along the entities Local axis. If you rotate the entity by 30 degress, your rotating the axis for it as well.


RiverRatt(Posted 2005) [#5]
Like Ross C said, Translate move things by its global position. So in 3d space no mater how you rotate the object you are moveing it will move the object by blitz's world world coordinates. Move will move an object by its local coordinates, which means if you move it Moveentity ,0,0,1
the object will move the direction it is facing, like we do.