Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | chantunRey |
So, I’m making a 2D platformer and I need the player to push and pull some crates. The player and the objects are KinematicBody2D’s. I tried with raycasting and Area 2D detection, but I can’t get the desired effect.
The player uses the move_and_slide func so I cant get a colliding response. Should I use move_and_collide? and when the player collides with the object, it modifies the motion property of the object?
thanks in advance