fix some loose ends in Bullet 2.x upgrade
This commit is contained in:
@@ -472,6 +472,8 @@ bool CcdPhysicsEnvironment::proceedDeltaTime(double curTime,float timeStep)
|
|||||||
veh->SyncWheels();
|
veh->SyncWheels();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CallbackTriggers();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -999,9 +1001,6 @@ int CcdPhysicsEnvironment::createConstraint(class PHY_IPhysicsController* ctrl
|
|||||||
if (rb0static && rb1static)
|
if (rb0static && rb1static)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
||||||
btAssert(0);
|
|
||||||
|
|
||||||
btVector3 pivotInA(pivotX,pivotY,pivotZ);
|
btVector3 pivotInA(pivotX,pivotY,pivotZ);
|
||||||
btVector3 pivotInB = rb1 ? rb1->getCenterOfMassTransform().inverse()(rb0->getCenterOfMassTransform()(pivotInA)) : pivotInA;
|
btVector3 pivotInB = rb1 ? rb1->getCenterOfMassTransform().inverse()(rb0->getCenterOfMassTransform()(pivotInA)) : pivotInA;
|
||||||
btVector3 axisInA(axisX,axisY,axisZ);
|
btVector3 axisInA(axisX,axisY,axisZ);
|
||||||
|
Reference in New Issue
Block a user