java.lang.Object
physx.NativeObject
physx.character.PxControllerHit
physx.character.PxControllerObstacleHit
Describes a hit between a CCT and a user-defined obstacle. Passed to onObstacleHit().
-
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 PxControllerObstacleHitarrayGet(long baseAddress, int index) voiddestroy()voidsetUserData(NativeObject value) static PxControllerObstacleHitwrapPointer(long address) Methods inherited from class physx.character.PxControllerHit
getController, getDir, getLength, getWorldNormal, getWorldPos, setController, setDir, setLength, setWorldNormal, setWorldPosMethods 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
-
PxControllerObstacleHit
protected PxControllerObstacleHit() -
PxControllerObstacleHit
protected PxControllerObstacleHit(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classPxControllerHit
-
getUserData
-
setUserData
-