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?
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?