Skip to content

PhysicsWorld.RestoreCollision(PhysicsBodyComponent, PhysicsBodyComponent) Method

Definition

Namespace: Brine2D.Physics

Restores normal collision between a and b after a previous IgnoreCollision(PhysicsBodyComponent, PhysicsBodyComponent) call. Also cancels any pending deferred ignore for this pair. Safe to call when the pair was not ignored.

public void RestoreCollision(Brine2D.ECS.Components.PhysicsBodyComponent a, Brine2D.ECS.Components.PhysicsBodyComponent b);

Parameters

a PhysicsBodyComponent

b PhysicsBodyComponent