Vectors

Blitz3D Forums/Blitz3D Programming/Vectors

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I have a bit of a problem and was wondering if the Blitz Community can help out once again.

Currently i am trying to use align to vector to get an object to point at another object.... and things are not going so well.

let me set the stage here.
We have obj_A
and obj_B

Obj_A uses the following code to point at B:
<CODE>
AlignToVector OBJ_A,EntityX(OBJ_A,1),EntityY(OBJ_A,1),EntityZ(OBJ_A,1),1,1
</CODE>


the problem with using this method is that align to vector assumes the vector it is being fed is actually relative to OBJ_A.

So how do i find the appropriate vector to pass to my function?