java.lang.Object
physx.NativeObject
physx.character.PxController
physx.character.PxCapsuleController
-
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 PxCapsuleControllerarrayGet(long baseAddress, int index) floatfloatbooleanbooleansetHeight(float height) booleansetRadius(float radius) static PxCapsuleControllerwrapPointer(long address) Methods inherited from class physx.character.PxController
getActor, getContactOffset, getFootPosition, getNonWalkableMode, getPosition, getScene, getSlopeLimit, getState, getStats, getStepOffset, getType, getUpDirection, getUserData, invalidateCache, move, move, release, resize, setContactOffset, setFootPosition, setNonWalkableMode, setPosition, setSlopeLimit, setStepOffset, setUpDirection, setUserDataMethods 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
-
PxCapsuleController
protected PxCapsuleController() -
PxCapsuleController
protected PxCapsuleController(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getRadius
public float getRadius()- Returns:
- WebIDL type: float
-
setRadius
public boolean setRadius(float radius) - Parameters:
radius- WebIDL type: float- Returns:
- WebIDL type: boolean
-
getHeight
public float getHeight()- Returns:
- WebIDL type: float
-
setHeight
public boolean setHeight(float height) - Parameters:
height- WebIDL type: float- Returns:
- WebIDL type: boolean
-
getClimbingMode
- Returns:
- WebIDL type:
PxCapsuleClimbingModeEnum[enum]
-
setClimbingMode
- Parameters:
mode- WebIDL type:PxCapsuleClimbingModeEnum[enum]- Returns:
- WebIDL type: boolean
-