BEPUphysics.Constraints.Collision.ContactManifoldConstraintGroup.Initialize C# (CSharp) Method

Initialize() public method

Initializes the constraint group.
public Initialize ( Entity a, Entity b ) : void
a Entity First entity of the pair.
b Entity Second entity of the pair.
return void
        public virtual void Initialize(Entity a, Entity b)
        {
            //This should only be called before the constraint has been added to the solver.
            entityA = a;
            entityB = b;
            OnInvolvedEntitiesChanged();
        }