Collision filter configuration for selective physics interactions.
Determines which collision layers an object belongs to and which layers it can collide with.
Example
// Projectile that hits characters and vehicles but not other projectiles constprojectileFilter: CollisionFilter = { memberships:CollisionLayer.Projectile, filter:CollisionLayer.Static | CollisionLayer.Character | CollisionLayer.Vehicle };
Collision filter configuration for selective physics interactions. Determines which collision layers an object belongs to and which layers it can collide with.
Example