Files
physx-go/pgo/physx-c/CPxTriggerPair.h
2023-10-10 10:58:49 +04:00

27 lines
1.0 KiB
C
Executable File

#ifndef CPxTriggerPair_H
#define CPxTriggerPair_H
#include "CPxShape.h"
#include "CPxPairFlag.h"
#include "CPxRigidActor.h"
#include "CPxTriggerPairFlag.h"
#ifdef __cplusplus
extern "C" {
#endif
struct CPxTriggerPair
{
CSTRUCT CPxShape triggerShape; //!< The shape that has been marked as a trigger.
CSTRUCT CPxRigidActor triggerActor; //!< The actor to which triggerShape is attached
CSTRUCT CPxShape otherShape; //!< The shape causing the trigger event. \deprecated (see #PxSimulationEventCallback::onTrigger()) If collision between trigger shapes is enabled, then this member might point to a trigger shape as well.
CSTRUCT CPxRigidActor otherActor; //!< The actor to which otherShape is attached
CENUM CPxPairFlag status; //!< Type of trigger event (eNOTIFY_TOUCH_FOUND or eNOTIFY_TOUCH_LOST). eNOTIFY_TOUCH_PERSISTS events are not supported.
CENUM CPxTriggerPairFlag flags; //!< Additional information on the pair (see #PxTriggerPairFlag)
};
#ifdef __cplusplus
}
#endif
#endif