I need to slowly stop my object when he hits another object.

Get help using Construct 2

Post » Fri May 29, 2015 9:09 pm

So I have a rocket and I need to stop it slowly when it overlaping another object. I tried to do - " Every tick rocket.speed-1 " but as you may guess Its not working.
B
3
Posts: 5
Reputation: 185

Post » Fri May 29, 2015 10:03 pm

Increase deceleration when overlapping?

or
every tick: rocket is overlapping X -> set rocket speed = lerp(rocket.speed, 0, x)

where the closer x is to 1 the faster it will slow down.
Nothing goes unanswered!
B
24
S
5
G
1
Posts: 434
Reputation: 3,446

Post » Sat May 30, 2015 8:54 am

Thanks) already did it with - every tick / rocket.car.speed-10
B
3
Posts: 5
Reputation: 185


Return to How do I....?

Who is online

Users browsing this forum: Rudi55, varr and 5 guests