java.lang.Object
physx.NativeObject
physx.character.PxControllerManager
-
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 PxControllerManagerarrayGet(long baseAddress, int index) voidcomputeInteractions(float elapsedTime) getController(int index) intintgetObstacleContext(int index) getScene()voidvoidrelease()voidsetOverlapRecoveryModule(boolean flag) voidsetPreciseSweeps(boolean flags) voidsetPreventVerticalSlidingAgainstCeiling(boolean flag) voidsetTessellation(boolean flag, float maxEdgeLength) voidshiftOrigin(PxVec3 shift) static PxControllerManagerwrapPointer(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
-
PxControllerManager
protected PxControllerManager() -
PxControllerManager
protected PxControllerManager(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
release
public void release() -
getScene
- Returns:
- WebIDL type:
PxScene[Ref]
-
getNbControllers
public int getNbControllers()- Returns:
- WebIDL type: unsigned long
-
getController
- Parameters:
index- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxController
-
createController
- Parameters:
desc- WebIDL type:PxControllerDesc[Const, Ref]- Returns:
- WebIDL type:
PxController
-
purgeControllers
public void purgeControllers() -
getNbObstacleContexts
public int getNbObstacleContexts()- Returns:
- WebIDL type: unsigned long
-
getObstacleContext
- Parameters:
index- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxObstacleContext
-
createObstacleContext
- Returns:
- WebIDL type:
PxObstacleContext
-
computeInteractions
public void computeInteractions(float elapsedTime) - Parameters:
elapsedTime- WebIDL type: float
-
setTessellation
public void setTessellation(boolean flag, float maxEdgeLength) - Parameters:
flag- WebIDL type: booleanmaxEdgeLength- WebIDL type: float
-
setOverlapRecoveryModule
public void setOverlapRecoveryModule(boolean flag) - Parameters:
flag- WebIDL type: boolean
-
setPreciseSweeps
public void setPreciseSweeps(boolean flags) - Parameters:
flags- WebIDL type: boolean
-
setPreventVerticalSlidingAgainstCeiling
public void setPreventVerticalSlidingAgainstCeiling(boolean flag) - Parameters:
flag- WebIDL type: boolean
-
shiftOrigin
- Parameters:
shift- WebIDL type:PxVec3[Const, Ref]
-