How to have KinematicBodies2D's be able to stack on top of each other and be able to jump and move?

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

To add to the question, also having the body not fall off when jumping or moving, so it is like they stick to the other KinematicBody2D but don’t restrict movement of the KinematicBody2D.

I have a game 2 KinematicBodies that need to be able to jump on top of one another and be able to jump and move around and interact with the environment. I am looking for ideas from anyone to solve this problem or understanding how someone did it with 2 would help. In my question and so far I have said 2 KinematicBodies but I really have 3 characters that need to stack. The closest and most accurate thing to relate to what I am trying to do is to have the character stack mechanic in Legend of Zelda Tri-Force Heroes.

Please help me from this nightmare of coding mess in Godot.

In what way can’t your Kinematic bodies stack on top of each other or move? Can you treat them like other “platforms”?

SteveSmith | 2022-12-12 21:02

Sorry for being VERY late but how would you have them be treated as platforms? Because I would need the player in control to be able to interact with other players and be able to switch between the players.

CoolJoey | 2023-01-09 15:14