How to mimic the motion of a body floating in spac

Just started using Construct 2? Post your questions here

Post » Sat Dec 31, 2011 2:23 pm

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.
B
35
S
6
G
5
Posts: 121
Reputation: 6,927

Post » Sun Jan 01, 2012 6:49 pm

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
B
11
G
2
Posts: 10
Reputation: 1,856

Post » Sun Jan 01, 2012 8:11 pm

ok, I will try, thanks
B
35
S
6
G
5
Posts: 121
Reputation: 6,927


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest