The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

So, i have a 2 enemy kinematicbody2d, they move in a specific path, but they both keep colliding into each other, blocking both of them's way, my enemy does NOT have a area2d in it, I want to do this without using layers/masks

my enemy looks like this:
Enemy (node)
--|StartPosition (position2d)
--|EndPosition (position2d)
--|Body (kinematicbody2d)

Godot version Godot Engine v3.3.stable.official
in Engine by (14 points)

Why do you not want to do with without using masks? It would be simple to just turn off the mask for the enemy layer to prevent collisions.

If i do so, my bullet does not collide with the enemies

Nevermind, I just found a solution

I had figured out that my raycast2d was not on the same collision mask as the enemies, Thanks for helping me :D

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.