Help with gradual decceleration of a Rigidbody2D

Godot Version

godot 4.5

Question

Hello Godot community!

I am very new to the game development scene and I need help, as i am unable to find a solution online

Here is what i am trying to achieve : I am trying to achieve a FishNet launcher, wich is a sort of gun that will fire a fish net underwater, with realistic physics, wich means that there is supposed to have a quick burst of initial velocity when firing the gun, but i want a quick decceleration and when a certain speed(or lack there of), the RigidBody(wich is the net that gets launched), stops and hovers.

I am unable to find ressources to help me on my task.

Thank you, have a great day!

Use apply_central_impulse() method to launch your net.

And to make it slow down faster, adjust its linear_damp property.