java.lang.Object
physx.NativeObject
physx.character.PxControllerHit
- Direct Known Subclasses:
PxControllerObstacleHit,PxControllerShapeHit,PxControllersHit
Describes a generic CCT hit.
-
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 PxControllerHitarrayGet(long baseAddress, int index) voiddestroy()Current controllergetDir()Motion directionfloatMotion lengthContact normal in world spaceContact position in world spacevoidsetController(PxController value) Current controllervoidMotion directionvoidsetLength(float value) Motion lengthvoidsetWorldNormal(PxVec3 value) Contact normal in world spacevoidsetWorldPos(PxExtendedVec3 value) Contact position in world spacestatic PxControllerHitwrapPointer(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
-
PxControllerHit
protected PxControllerHit() -
PxControllerHit
protected PxControllerHit(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getController
Current controller -
setController
Current controller -
getWorldPos
Contact position in world space -
setWorldPos
Contact position in world space -
getWorldNormal
Contact normal in world space -
setWorldNormal
Contact normal in world space -
getDir
Motion direction -
setDir
Motion direction -
getLength
public float getLength()Motion length -
setLength
public void setLength(float value) Motion length
-