Object moving on a planet

Get help using Construct 2

Post » Mon Feb 11, 2013 8:15 am




I have tried this now many hours and read all tutorials about gravitation, this one looks to work for me. The Monsters angle is set to the position on the planet and the monster keeps getting pulled to the planet... The problem is now it can't jump and it is vibrating on the planet cause of my simple gravitation :D

Ideas how I could fix that.
B
15
S
6
G
6
Posts: 512
Reputation: 5,550

Post » Mon Feb 11, 2013 8:18 am

-> Monster On collision with Planet
.. disable gravitation

Or add 'monster NOT overlapping planet' condition to your gravitation thingy there. :)
B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Mon Feb 11, 2013 8:20 am

Oh this could work better than my

-> Distance between middle of a planet and a monster radius planet + 100

I will try it as soon as possible thank you

Works well, but I need to activate the gravitation again if he is jumping,
I tried to invert the on overlapping but this starts the vibrating again...


Got it !localboss2013-02-11 09:11:22
B
15
S
6
G
6
Posts: 512
Reputation: 5,550


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Braus, supreme676 and 8 guests