how to make rockets spin in a circle

Im trying to make these rockets spin in a circle before attacking the enemy. I can get the rockets to spawn and hit the enemy but im having trouble with the spinning in a circle part.

Answers

  • ThoPelThoPel GermanyMember, PRO Posts: 184

    Could you draw a simple example and give us more information about your game (2d?, top-bottom-view?, site-scroller?). Thanks

  • derka6391derka6391 Member Posts: 31

    It's a defense game and it's 2D side view.

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956
    edited July 2015

    Rotate just the image? or Rotate around object?

  • ThoPelThoPel GermanyMember, PRO Posts: 184

    @RabidParrot Thanks! Was about to ask the same :)

  • derka6391derka6391 Member Posts: 31

    Rotate the image

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956

    Did you try the rotate behavior?

  • derka6391derka6391 Member Posts: 31

    No, i will give it a try.

  • derka6391derka6391 Member Posts: 31

    im still having trouble with the spinning part, my hero throws the item then after 2 seconds i have it to move straight for a sec then spin in a circle and move straight again. I can only get the rocket to rotate but not move in a actual circle.

  • derka6391derka6391 Member Posts: 31

    nvm I got it to spin but now after it spins it stops, can I get it to go straight until it hits a enemy or destroy after 2 sec.

  • derka6391derka6391 Member Posts: 31

    nvm got it

  • SocksSocks London, UK.Member Posts: 12,822

    Thank you.

Sign In or Register to comment.