I have a Player placed in the scene:
collision_layer = 3
and a Projectile which is instantiated via script:
collision_layer = 2
Player uses moveandslide and Projectile uses moveandcollide to get around.
I expect them not to collide since their collision_mask is 1 by default and they are on layer 2 and 3, but whenever a Projectile is instantiated (at the Player's position), it causes a spaz to the Player's position, which I assume is a collision between them.
I create the collision shape for the Projectile programmatically, without changing anything:
var collision_shape = CollisionShape.new()
collision_shape.shape = SphereShape.new()
And for the Player I set it in the editor to a CapsuleShape, without changing anything as well.
I am using v3.2.stable.official (Steam).