Hi guys

I wonder is that possible to calculate Actor "World" Location but with some recalculation where we rotate out world coordinate system so that world X axis are always parallel to Actor X (forward) axis?

Here's the picture:

Now: out character move forward and make 10 steps, so his new location after that will be - X 10, Y and Z - doesnt matter. Then we rotate out cameram for example to 90 deg. now if we again make 10 steps our new X will still be 10, cause we now travel along Y world axis, and Y axis will be - 10.

That i need: no matter how we rotate camera, if we move forward, character location will increase, if we move backward character location will decrease cause we rotate world coordinate syste and world X are still parallel to character X.

I wonder is that possible to calculate Actor "World" Location but with some recalculation where we rotate out world coordinate system so that world X axis are always parallel to Actor X (forward) axis?

Here's the picture:

Now: out character move forward and make 10 steps, so his new location after that will be - X 10, Y and Z - doesnt matter. Then we rotate out cameram for example to 90 deg. now if we again make 10 steps our new X will still be 10, cause we now travel along Y world axis, and Y axis will be - 10.

That i need: no matter how we rotate camera, if we move forward, character location will increase, if we move backward character location will decrease cause we rotate world coordinate syste and world X are still parallel to character X.

## Comment