CL - PhysicsHelper - IgnoreCollisions
Toggle collisions between 2 colliders so they can freely move past each other.
#
ExampleIgnore collisions
CL.PhysicsHelper.IgnoreCollisions(collider1, collider2, true)
Reenable collisions
CL.PhysicsHelper.IgnoreCollisions(collider1, collider2, false)
#
User VariablesComponent | variable |
---|---|
Collider (or list of colliders) | self.collider1 |
Collider (or list of colliders) | self.collider2 |