Godot Version
4.3 stable
Question
I have a Character Body 2D standing on platform. When platform moves Character Body 2D moves too. How Can I avoid this?
4.3 stable
I have a Character Body 2D standing on platform. When platform moves Character Body 2D moves too. How Can I avoid this?
The CharacterBody2D should have settings like these (screenshot is from a CharacterBody3D, but it should be the same). Try disabling layer 1 from the floor layers, and then making sure your moving platform is in collision layer 1.
You can also use another layer than 1 for this, but then you will need to also update the collision settings for the character - by default, it only collides with things in layer 1 at all:
Everything works, thanks a lot
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.