Help with a KinematicBody2D pushing another

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

Hey, I’m making a 2D coop platform game where one player can fly (Lets call him Fly) and the other can’t (Lets call him Jump), but I have a problem. Both of them uses move_and_collide, but when Jump is on top of Fly, Fly cant push Jump up with him. Is there a way to make both of them go up by just pressing Fly’s “up” input?

Does it have to be just using move_and_collide?
Can’t you use move_and_slide?

estebanmolca | 2021-03-06 09:04