internal void Setup(ConvexContactManifoldConstraint contactManifoldConstraint)
        {
            this.contactManifoldConstraint = contactManifoldConstraint;
            isActive = true;

            entityA = contactManifoldConstraint.EntityA;
            entityB = contactManifoldConstraint.EntityB;
        }
 internal void CleanUp()
 {
     accumulatedImpulse        = 0;
     contactManifoldConstraint = null;
     entityA  = null;
     entityB  = null;
     isActive = false;
 }
Example #3
0
        internal void Setup(ConvexContactManifoldConstraint contactManifoldConstraint)
        {
            this.contactManifoldConstraint = contactManifoldConstraint;
            isActive = true;

            linearA = new Matrix2x3();

            entityA = contactManifoldConstraint.EntityA;
            entityB = contactManifoldConstraint.EntityB;
        }
Example #4
0
 protected ConvexConstraintPairHandler()
 {
     contactConstraint = new ConvexContactManifoldConstraint(this);
 }