I'm trying to predict where a RigidBody2D will fly if velocity(x,y) is applied and this is working fine if the body does not have any linear damping.
for point in range(arch_num_points):
velocity.y += gravity * delta
pos += velocity * delta
line_arch.set_point_position(point, pos - get_global_position())
But how can I extend the script to also use damping?
Reference:
https://kidscancode.org/godot_recipes/2d/ballistic_bullet/