problem of colisions

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

I have a problem with collisions, my character does not collide with map collisions, my map has a polygon shape collision, and my character is a kinematic (I already tried to change the staticbody of the map to an area2d but it doesn’t work)

:bust_in_silhouette: Reply From: jerryjrowe

Not a lot to go on here…But I’ll try to start the conversation!

Is the collision not happening at all (the objects pass through each other like ghosts)?

Did you check all the collision_layer / collision_mask bits, and make sure you have the ones on that you want?

im new, and actually i speak spanish so i don´t know how to check the collisionlayer and collisionmask, can you help me?

Ronin910 | 2023-04-28 16:07

You need to deal with Collision Layer and Collision Mask.

enter image description here
For example, watch this video.
If you open the layer and mask documentation, then it says that collision_layer is in which layer the objects exist, and collision_mask is which layers they scan.

Animaliss | 2023-04-29 10:01