Пример #1
0
bool plPXPhysical::OverlapWithController(const plPXPhysicalControllerCore* controller)
{
    NxCapsule cap;
    controller->GetWorldSpaceCapsule(cap);
    NxShape* shape = fActor->getShapes()[0];
    return shape->checkOverlapCapsule(cap);
}
Пример #2
0
bool plPXPhysical::OverlapWithCapsule(NxCapsule& cap)
{
    NxShape* shape = fActor->getShapes()[0];
    return shape->checkOverlapCapsule(cap);
}