How do I work out which direction the bullet is going ?

Get help using Construct 2

Post » Wed Apr 01, 2015 4:07 pm

Hi,

I need to know if a sprite with bullet behaviour is going left or right, but I can't seem to find a way of accessing the vectorX, which would give me this (minus for left, positive for right).

Can anyone help please ?

Thanks in advance

Ian.
B
8
S
3
Posts: 12
Reputation: 626

Post » Wed Apr 01, 2015 5:27 pm

There's the "Sprite.Bullet.AngleOfMotion" expression that you can use with one of the system conditions "Compare two values" , "Is within angle", etc...
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,670

Post » Tue Apr 07, 2015 5:44 pm

aah, I see what you mean. Thanks Ramones.
B
8
S
3
Posts: 12
Reputation: 626


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests