java.lang.Object
physx.NativeObject
physx.character.PxUserControllerHitReport
- Direct Known Subclasses:
PxUserControllerHitReportImpl
User callback class for character controller events.
Note: Character controller hit reports are only generated when move is called.
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxUserControllerHitReportarrayGet(long baseAddress, int index) voidCalled when current controller hits another controller.voidCalled when current controller hits a user-defined obstacle.voidCalled when current controller hits a shape.static PxUserControllerHitReportwrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxUserControllerHitReport
protected PxUserControllerHitReport() -
PxUserControllerHitReport
protected PxUserControllerHitReport(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
onShapeHit
Called when current controller hits a shape.This is called when the CCT moves and hits a shape. This will not be called when a moving shape hits a non-moving CCT.
- Parameters:
hit- Provides information about the hit.- See Also:
-
onControllerHit
Called when current controller hits another controller.- Parameters:
hit- Provides information about the hit.- See Also:
-
onObstacleHit
Called when current controller hits a user-defined obstacle.- Parameters:
hit- Provides information about the hit.- See Also:
-