RigidBody2D still slows with no friction.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ondesic
:warning: Old Version Published before Godot 3 was released.

I am trying to figure out why my rigidbody2d is slowing down over time when I set_linear_velocity(100,0)

The RigidBody2D has the following settings:
Mass: 1
Weight: 9.8
Friction: 0
Bounce: 0
Gravity: 0

It is on top of a background Sprite with no friction

:bust_in_silhouette: Reply From: Anutrix

The reason is maybe because gravity is not acting on it at all but linear velocity is applied. It has velocity but no acceleration. Change Gravity Scale to 1 and check the result.

:bust_in_silhouette: Reply From: YeOldeDM

Do you have Damping Override set to 0?

I tried this and it worked. It was originally set to -1.

Why did this work?

ondesic | 2017-04-06 04:45