Hi,

I think this is how you can calculate the position after doing a
moveForward:
var posAfterForward:Vector3D = someModel.transform.transformVector(new
Vector3D(0,0,DISTANCE));

which should be the position of the someModel object after doing:
someModel.moveForward(DISTANCE);


On 17 mei, 13:15, andrew barry <[email protected]> wrote:
> Hi,
> I have a basic question on moving forward.
> I am moving a char in the x/z axis and it can move in any direction on
> these axis.
>
> Is there a way to tell what x,z position an object will be if moves
> forward and amount.
> I want to know its coordinates before i move it.

Reply via email to