so i got an sprite with bullet behavior and in debug mode i can see the vector x and y of the sprite using bullet behavior, how do I compare that value in C2? there isn't an expression and I have no idea how do i calc that value..
vectorX = (Sprite.Bullet.Speed)*cos(Sprite.Bullet.AngleOfMotion)
vectorY = (Sprite.Bullet.Speed)*sin(Sprite.Bullet.AngleOfMotion)
Develop games in your browser. Powerful, performant & highly capable.
vectorX = (Sprite.Bullet.Speed)*cos(Sprite.Bullet.AngleOfMotion) vectorY = (Sprite.Bullet.Speed)*sin(Sprite.Bullet.AngleOfMotion)
thanks!