+1 vote

I was trying moving a rigid body on tiles by adding force on it. but it only moved for a while, then it stopped. however, if i put the rigid body on something else that is not tiles(e.g. a static body), it will move normally. why is it so?

func _physics_process(_delta):
  if Input.is_action_just_pressed("ui_right"):
    add_central_force(Vector2(100, 0))

enter image description here

Godot version v3.2.3.stable linux
in Engine by (18 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.