Move and Translate
Blitz3D Forums/Blitz3D Beginners Area/Move and Translate
| ||
Can someone please explain the difference between MoveEntity and TranslateEntity? Thanks. |
| ||
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 |
| ||
Thanks. The programs helps seems to be lacking information (I just updated my blitzdoc last night so maybe there is more info now). |
| ||
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. |
| ||
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. |