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
7
S
3
Posts: 11
Reputation: 597

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
54
S
28
G
18
Posts: 1,520
Reputation: 25,150

Post » Tue Apr 07, 2015 5:44 pm

aah, I see what you mean. Thanks Ramones.
B
7
S
3
Posts: 11
Reputation: 597


Return to How do I....?

Who is online

Users browsing this forum: imothep85, wtomtom and 2 guests