Translate or Position

Blitz3D Forums/Blitz3D Beginners Area/Translate or Position

IKG(Posted 2006) [#1]
I wanted to make sure of something. Is it true that PositionEntity just positions an entity to a certain place, where as TranslateEntity moves it up or sideways to however much you enter?

For example, should I be using PositionEntity to place my entity in a certain place and then use TranslateEntity to move it around? All this time I've been positioning my entities over and over to make them move. If I do something like "TranslateEntity guy,0,0,5" will it move my guy 5 times over on the z axis? Or does it work exactly like PositionEntity does?

Thanks :)


Ross C(Posted 2006) [#2]
PositionEntity positions/moves an entity to the co-ords you specify. TranslateEntity moves an entity along the World Axis. MoveEntity moves an entity according to the way that it's facing.

Basically, TranslateEntity moves an entity FROM it's current location, plus the x,y and z you put in :o)


IKG(Posted 2006) [#3]
Thanks :)