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;
 }
Esempio n. 3
0
        internal void Setup(ConvexContactManifoldConstraint contactManifoldConstraint)
        {
            this.contactManifoldConstraint = contactManifoldConstraint;
            isActive = true;

            linearA = new Matrix2x3();

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