How do I delete the increasing Y force?

Get help using Construct 2

Post » Sun Feb 16, 2014 2:07 am

Hello, i'm making a game and I have a problem.

My object has physics, and want to make an up movement doing an -90 impulse.

The problem is that when the object is falling, the Y axis force increases and when its a long falling the object does not go up, it just stop its velocity.

So my question is, how do I delete the accumulated force when the object is falling?

Or also other solution tu make the object goes up, but with physics?

Thank you very much!!
B
3
Posts: 2
Reputation: 179

Post » Sun Feb 16, 2014 2:12 am

Set Velocity is your best bet here. You can set the vertical velocity to zero before applying the impulse, or just set the vertical velocity to -90

To set just the vertical velocity, just set the X velocity to Self.Physics.VelocityX
B
52
S
10
G
7
Posts: 184
Reputation: 6,850


Return to How do I....?

Who is online

Users browsing this forum: amazingdream, Yahoo [Bot] and 20 guests