X,Y location at angle? *SOLVED*

Get help using Construct 2

Post » Sun Jul 08, 2012 9:33 am

My third cup of coffee and I still can't get this right... What I'm trying to do, is to get self.y-30 point at different angles. I just need my object to jump from point (a) to the point (b) so just a jump at certain distance based on the angle of my object.


*************

SOLVED!

Self.Y + sin(Self.angle-90) * 30
Self.X + cos(Self.angle-90) * 30

Wasn't really that hard after some thinking. nemo2012-07-08 10:38:13
B
43
S
5
G
5
Posts: 410
Reputation: 5,742

Post » Sun Jul 08, 2012 1:13 pm

can you post html.? i want to see what you create :)
B
107
S
25
G
43
Posts: 1,882
Reputation: 33,501


Return to How do I....?

Who is online

Users browsing this forum: Janaina and 2 guests