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
40
S
5
G
5
Posts: 405
Reputation: 5,657

Post » Sun Jul 08, 2012 1:13 pm

can you post html.? i want to see what you create :)
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963


Return to How do I....?

Who is online

Users browsing this forum: Artpunk, gregorysforster and 1 guest