Cancel gravity on a movable object

Get help using Construct 2

Post » Fri Apr 05, 2013 4:34 am

I have an Object A which has Physics behavior and its Immovable option is set to "No". Is there a way I can cancel the gravity on this object so that it can move freely and independently without being affected by the force of gravity?
B
3
Posts: 14
Reputation: 328

Post » Fri Apr 05, 2013 5:49 am

Hello, I had this problem some months ago and since I could not find a clean solution, I just applied an upward force every tick that approximately cancelled gravity on the one object that I needed to be gravity free.

Hope it helps
B
19
S
4
G
4
Posts: 70
Reputation: 3,896

Post » Fri Apr 05, 2013 6:03 am

If you need 0 gravity, you might want to set the global gravity to 0 and then just create your own gravity. Make a family called "gravity objects" or something and have them be affected by gravity every tick if a boolean is true.
B
10
S
3
G
3
Posts: 234
Reputation: 3,467


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests