Gravitation arround a planet

Get help using Construct 2

Post » Mon Dec 24, 2012 9:42 am

I try to let a monster follow my cursor arround the planet, this is working not bad but he still drops on the down side and he moves sometimes not over the buildings...

There is something wrong in my logic :D

Example: https://www.dropbox.com/sh/mu6x5m9j2w89jth/LDkhS38Vi0 the gravitation.capx
B
15
S
6
G
6
Posts: 512
Reputation: 5,550

Post » Mon Dec 24, 2012 2:08 pm

Your link doesnt work for me
B
45
S
15
G
9
Posts: 1,096
Reputation: 11,038

Post » Mon Dec 24, 2012 4:01 pm

create a rounded sprite (field of gravity), and when asteroid or something is overlapping this sprite-> in events set apply force towards planet.
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Wed Dec 26, 2012 2:43 pm

delgado's ideea is good, but first of all you must set world gravity to 0, otherwise it will fall wrong.
B
15
S
3
G
2
Posts: 42
Reputation: 2,412

Post » Thu Dec 27, 2012 7:23 am

All this things I think I have done already but it doesn't work correctly
B
15
S
6
G
6
Posts: 512
Reputation: 5,550


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests