Problem with KinematicBody2D and RigidBody2D

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

I’m trying to make a moving box with with RigidBody2D for my platformer game. I have this problem when my player jump on, the collision i made doesn’t work.
How can i fix?

What code do you have? How does it solve the problem?

yanb | 2020-11-07 16:38

In the RigidBody there isn’t code si just a sprite with collision. I want that the player can jump on.

Simon | 2020-11-07 17:18