ChristianWiele
Active member
Hi,
I would like to set up my projectile that it ignores the water layer to shoot objects below the surface, but I don't know how to achieve it. My water surface has a collider. I have set the impact layer to not impact water. If I set the collision mode to collide, the projectile is destroyed on the water surface. If I set the collision mode to ignore, the water layer is ignored, but also any other collider so the projectile passes through my object, and can impact other objects.
I tried adding an IgnoreLayerCollision, but it has no effect.
Regards, Christian
I would like to set up my projectile that it ignores the water layer to shoot objects below the surface, but I don't know how to achieve it. My water surface has a collider. I have set the impact layer to not impact water. If I set the collision mode to collide, the projectile is destroyed on the water surface. If I set the collision mode to ignore, the water layer is ignored, but also any other collider so the projectile passes through my object, and can impact other objects.
I tried adding an IgnoreLayerCollision, but it has no effect.
Regards, Christian