public class PxControllerManager extends NativeObject
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxControllerManager() |
protected |
PxControllerManager(long address) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeInteractions(float elapsedTime) |
PxController |
createController(PxControllerDesc desc) |
PxObstacleContext |
createObstacleContext() |
PxController |
getController(int index) |
int |
getNbControllers() |
int |
getNbObstacleContexts() |
PxObstacleContext |
getObstacleContext(int index) |
PxScene |
getScene() |
void |
purgeControllers() |
void |
release() |
void |
setOverlapRecoveryModule(boolean flag) |
void |
setPreciseSweeps(boolean flags) |
void |
setPreventVerticalSlidingAgainstCeiling(boolean flag) |
void |
setTessellation(boolean flag,
float maxEdgeLength) |
void |
shiftOrigin(PxVec3 shift) |
static PxControllerManager |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodeprotected PxControllerManager()
protected PxControllerManager(long address)
public static PxControllerManager wrapPointer(long address)
public void release()
public int getNbControllers()
public PxController getController(int index)
index - WebIDL type: unsigned longPxControllerpublic PxController createController(PxControllerDesc desc)
desc - WebIDL type: PxControllerDesc [Const, Ref]PxControllerpublic void purgeControllers()
public int getNbObstacleContexts()
public PxObstacleContext getObstacleContext(int index)
index - WebIDL type: unsigned longPxObstacleContextpublic PxObstacleContext createObstacleContext()
PxObstacleContextpublic void computeInteractions(float elapsedTime)
elapsedTime - WebIDL type: floatpublic void setTessellation(boolean flag,
float maxEdgeLength)
flag - WebIDL type: booleanmaxEdgeLength - WebIDL type: floatpublic void setOverlapRecoveryModule(boolean flag)
flag - WebIDL type: booleanpublic void setPreciseSweeps(boolean flags)
flags - WebIDL type: booleanpublic void setPreventVerticalSlidingAgainstCeiling(boolean flag)
flag - WebIDL type: boolean