My game is isometric 30 degrees (think Diablo 2), I'm looking to convert the angle A1 from the player tile A to the destination tile B into the appropriate angle A2 in the isometric view.

For the angles 0, 90, 180 and 270 it's the same, but for the other value a transformation is required which I do not manage to get right.

I seems that the transformation is something like that : Similar case But I dont get why there is that fixed angle on the first line and how to adapt the whole thing.

My end goal is to use A1 to convert it into A2 to select the proper direction frame with the right angle for the character facing.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.