system
April 6, 2017, 3:21am
1
Attention
Topic was automatically imported from the old Question2Answer platform.
Asked By
ondesic
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
system
April 6, 2017, 3:44am
4
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.
system
April 6, 2017, 3:56am
5
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