コード例 #1
0
ファイル: ExtRevoluteJoint.cpp プロジェクト: savant-nz/carbon
bool Ext::RevoluteJoint::attach(PxPhysics &physics, PxRigidActor* actor0, PxRigidActor* actor1)
{
    mPxConstraint = physics.createConstraint(actor0, actor1, *this, sShaders, sizeof(RevoluteJointData));
    return mPxConstraint!=NULL;
}