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,555

Post » Mon Dec 24, 2012 2:08 pm

Your link doesnt work for me
B
47
S
16
G
9
Posts: 1,097
Reputation: 11,180

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
103
S
25
G
39
Posts: 1,874
Reputation: 31,381

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,555


Return to How do I....?

Who is online

Users browsing this forum: Cryttexx, LaurenceBedford, oddreal and 12 guests