Package physx.character
Class PxControllerManager
- java.lang.Object
-
- physx.NativeObject
-
- physx.character.PxControllerManager
-
public class PxControllerManager extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxControllerManager()protectedPxControllerManager(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomputeInteractions(float elapsedTime)PxControllercreateController(PxControllerDesc desc)PxObstacleContextcreateObstacleContext()PxControllergetController(int index)intgetNbControllers()intgetNbObstacleContexts()PxObstacleContextgetObstacleContext(int index)PxScenegetScene()voidpurgeControllers()voidrelease()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
-
-
-
-
Method Detail
-
wrapPointer
public static PxControllerManager wrapPointer(long address)
-
release
public void release()
-
getNbControllers
public int getNbControllers()
- Returns:
- WebIDL type: unsigned long
-
getController
public PxController getController(int index)
- Parameters:
index- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxController
-
createController
public PxController createController(PxControllerDesc desc)
- 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
public PxObstacleContext getObstacleContext(int index)
- Parameters:
index- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxObstacleContext
-
createObstacleContext
public 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
-
-