The problem is in the collision of mobs

Okay, I have a script that spawns mobs. But the problem is that the mobs collide with each other. I wrote part of the script, which you can see in the picture, but for some reason, the mobs still collide and do not pass each other, what is the problem?


1 Like

Hi, it’s much more convenient if you just copy/paste your code. Make sure to format it by selecting it in the text box and then pressing the </> button.

image

Assuming your script works correctly and sets the cg to mob, then it’s probably a problem on the collision groups, check if the collision groups are the way you intended them to be, or just change the cg of the parts of the mob by hand and not by script if that doesnt work