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
44
S
5
G
5
Posts: 412
Reputation: 5,771

Post » Sun Jul 08, 2012 1:13 pm

can you post html.? i want to see what you create :)
B
118
S
32
G
49
Posts: 1,886
Reputation: 37,524


Return to How do I....?

Who is online

Users browsing this forum: Chieftromlitz, kriand and 23 guests