How do I make a sprite move to a point without rotating

0 favourites
  • 3 posts
From the Asset Store
Connect the dots in the correct order and draw happy animals!
  • Hi guys, I was trying to make a simple effect which move the coins sprite to a point without rotating its own angle. I did this with set angle towards position but it just rotate the angle of the sprite and move the sprite towards the point. Is there any way I can do it without rotating the sprite?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Are you moving the sprite with Bullet behavior?

    If yes, disable "Set angle" in Bullet settings.

    Then use Bullet->Set angle of motion -> Angle (sprite.x, sprite.y, destination.x, destination.y)

  • Are you moving the sprite with Bullet behavior?

    If yes, disable "Set angle" in Bullet settings.

    Then use Bullet->Set angle of motion -> Angle (sprite.x, sprite.y, destination.x, destination.y)

    Hi dop2000, thank you for your reply.

    Thank you for your code, I can finally make it done. I was about to make a platformer and when a player collects a coin, the coin fly to the right top of the layout, therefore makes an effect like the player is collecting something.

    It seemed like I have used inappropriate action to accomplish it. I used action like "move forward" and "set angle toward position". I think I need to learn the built-in function, it's very helpful

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)