How do I change gravity for one object

Get help using Construct 2

Post » Wed Jan 06, 2016 10:32 pm

Hello Guys,

I am struggling with a game with multiple objects having the physics behaviors and they all have to react to gravity but is it possible to just change the falling speed for one object instead of changing the total gravitational drag?
B
3
Posts: 5
Reputation: 185

Post » Wed Jan 06, 2016 10:47 pm

Gravity always has just one direction,
but maybe you could remove gravity completely and replace it with setting a force for every object?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Jan 06, 2016 10:56 pm

Maybe i can try :-)

But the problem is is that i need physics behaviors on my objects and gravity works automatic when physics is used
B
3
Posts: 5
Reputation: 185

Post » Wed Jan 06, 2016 10:58 pm

Is it maybe possible to change the air friction for some object, so that object with more friction in the air tend to fall slower?
B
3
Posts: 5
Reputation: 185

Post » Wed Jan 06, 2016 11:31 pm

You can use the action:

Set world gravity
Set the force of gravity affecting all Physics objects. By default this is a force of 10 downwards.

to set the gravity to 0 and create your own forces to simuate the gravity..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Jan 07, 2016 9:30 pm

@SamFisher
The linear damping property can be used to give an object drag so it falls slower.
B
88
S
30
G
90
Posts: 5,114
Reputation: 60,839


Return to How do I....?

Who is online

Users browsing this forum: Carlafnt, imhotep22, rollyzz, scitana, Silviu, Yahoo [Bot] and 10 guests