Match Vector

Blitz3D Forums/Blitz3D Programming/Match Vector

Lane(Posted 2004) [#1]
How do i make an entity match the direction of another entity? AlignToVector would appear to be used for this but how do you determine the vector of an existing entity? What part of the help file's did I miss that makes this clear?


Gabriel(Posted 2004) [#2]
RotateEntity Entity1,EntityPitch#(Entity2),EntityYaw#(Entity2),EntityRoll#(Entity2)

You'll need to change those to Entity2,true in each case if Entity2 has a parent.


Lane(Posted 2004) [#3]
OK, Thanks that is what I needed.