0 Favourites

How to mimic the motion of a body floating in spac

  • hello Does anyone know how to orient myself to get a movement of an asteroid?, I tried to do with bullet but the path is too direct, I changed the parameters of gravity, acceleration, speed ... but not too convinces me the result.

    I tried the custom motion but I have not gotten it begins to move by itself at the beginning of the game.

    HELP.

    Thanks for your time.

    pd.

    Sorry for my English.

    HAPPY 2012 from Spain. <img src="smileys/smiley2.gif" border="0" align="middle" />

  • I think the "Bullet" behaviour should work pretty well for an asteroid if you also animate the asteroid so it appears to tumble.

    A combinaton of rotation and a tumbling animation is probably the best.

    However if you use the "Rotate" behaviour oc Construct2, the facing angle of the asteroid will change all the time and combined with bullet this will make the asteroid go in an arc (or a circle depending on speed) which is probably not what you want.

    Perhaps you could move the asteroids by updating their coordinates in the "each tick" section but I don't know if that will slow things down a lot. I'm pretty new at Construct 2 myself. I'll experiment some more and get back to you!

    Cheers!

    /Peter

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • ok, I will try, thanks

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
38 6,809
leegj's avatar
leegj
Unread hot topic
28 4,689
redfoc's avatar
redfoc
Unread hot topic
26 3,448
Ashley's avatar
Ashley Construct Team Founder