In Godot4, when a CharacterBody2D is interacting with a RigidBody2D, how do you turn off infinite inertia?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By BusterDublup

In Godot3 the move_and_slide() function had a parameter to turn off infinite inertia. That parameter has been removed in Godot4 but CharacterBodies still seem to interact with RigidBodies as if they have infinite inertia. i can’t seem to find in the docs the new way of turning off infinite inertia. I’m still pretty new to Godot. Does anyone know how to do this or can anyone point me in the right direction? Thanks.

Have you gotten an answer to this question? I’m wondering the same thing

BeMain | 2023-02-25 13:30

1 Like

Any solution ?