Convert 2D Angle Into Isometric Angle

Get help using Construct 2

Post » Fri Nov 21, 2014 10:21 pm

hi,
i have a problem with isometric view angles ..
in isometric 30 degree = 45 degree in 2D !
and isometric 0 = 0 2D
and isometric 90 = 90 2D
and...
i have a sprite with 72 rendered angles so 360 / 72 = 5
if when my object angle is 45 and moving forward i use frame number 9 (45 / 5 = 9) that is wrong ! because my object angle and moving angle is not the same
but when my object angle is 30 and moving forward then i must using frame number 9 (45 degree)
i dont know what is the formula for converting any angle into isometric angle
so i want the formula..
thanks
B
16
S
6
Posts: 243
Reputation: 1,755

Post » Fri Nov 21, 2014 11:01 pm

Hi @mahdi71. You might find this helpful.
Image
B
9
S
3
G
1
Posts: 346
Reputation: 1,560

Post » Sat Nov 22, 2014 8:33 am

@hundredfold
thanks so much.
formula is this : isometricAngle = arctan( tan(oldangle) / 2 )
B
16
S
6
Posts: 243
Reputation: 1,755

Post » Sat Nov 22, 2014 1:01 pm

You had it at: 360 / 72 = 5
Image ImageImage
B
172
S
50
G
183
Posts: 8,443
Reputation: 115,605

Post » Sat Nov 22, 2014 3:06 pm

No problem @mahdi71. Glad to be of help.
Image
B
9
S
3
G
1
Posts: 346
Reputation: 1,560


Return to How do I....?

Who is online

Users browsing this forum: Cipriux and 30 guests