Sprite movement to 360 degrees ?
-
Hello. If I want to move the sprite in different directions (360 degrees), do I have to do it through (sin), (cosin), or is it a direct function?
-
@BildoCZ Have a look at setSpriteSpeed: https://fuzearena.com/help/view/setSpriteSpeed This sets the sprites speed in the x and y directions. The example uses some trigonometery (atan2) to point the sprite in the right direction.