BEPUphysics.Constraints.Collision.ContactManifoldConstraint.OnRemovalFromSolver C# (CSharp) Method

OnRemovalFromSolver() public method

Called when the updateable is removed from its solver.
public OnRemovalFromSolver ( Solver oldSolver ) : void
oldSolver Solver Solver from which the updateable was removed.
return void
        public override void OnRemovalFromSolver(Solver oldSolver)
        {
            //This should only be called after the constraint has been removed from the solver.
            if (pair == null)
            {
                CleanUpReferences();
            }
        }