java.lang.Object
physx.NativeObject
physx.character.PxControllerState
Describes a controller's internal state.
-
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 PxControllerStatearrayGet(long baseAddress, int index) voiddestroy()intLast known collision flags (PxControllerCollisionFlag)delta position vector for the object the CCT is standing/riding on.booleanis CCT moving up or not? (i.e.booleanAre we standing on another CCT?booleanAre we standing on a user-defined obstacle?Actor owning 'touchedShape'intShape on which the CCT is standingvoidsetCollisionFlags(int value) Last known collision flags (PxControllerCollisionFlag)voidsetDeltaXP(PxVec3 value) delta position vector for the object the CCT is standing/riding on.voidsetIsMovingUp(boolean value) is CCT moving up or not? (i.e.voidsetStandOnAnotherCCT(boolean value) Are we standing on another CCT?voidsetStandOnObstacle(boolean value) Are we standing on a user-defined obstacle?voidsetTouchedActor(PxRigidActor value) Actor owning 'touchedShape'voidsetTouchedObstacleHandle(int value) voidsetTouchedShape(PxShape value) Shape on which the CCT is standingstatic PxControllerStatewrapPointer(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
-
PxControllerState
protected PxControllerState(long address) -
PxControllerState
public PxControllerState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getDeltaXP
delta position vector for the object the CCT is standing/riding on. Not always match the CCT delta when variable timesteps are used. -
setDeltaXP
delta position vector for the object the CCT is standing/riding on. Not always match the CCT delta when variable timesteps are used. -
getTouchedShape
Shape on which the CCT is standing -
setTouchedShape
Shape on which the CCT is standing -
getTouchedActor
Actor owning 'touchedShape' -
setTouchedActor
Actor owning 'touchedShape' -
getTouchedObstacleHandle
public int getTouchedObstacleHandle() -
setTouchedObstacleHandle
public void setTouchedObstacleHandle(int value) -
getCollisionFlags
public int getCollisionFlags()Last known collision flags (PxControllerCollisionFlag) -
setCollisionFlags
public void setCollisionFlags(int value) Last known collision flags (PxControllerCollisionFlag) -
getStandOnAnotherCCT
public boolean getStandOnAnotherCCT()Are we standing on another CCT? -
setStandOnAnotherCCT
public void setStandOnAnotherCCT(boolean value) Are we standing on another CCT? -
getStandOnObstacle
public boolean getStandOnObstacle()Are we standing on a user-defined obstacle? -
setStandOnObstacle
public void setStandOnObstacle(boolean value) Are we standing on a user-defined obstacle? -
getIsMovingUp
public boolean getIsMovingUp()is CCT moving up or not? (i.e. explicit jumping) -
setIsMovingUp
public void setIsMovingUp(boolean value) is CCT moving up or not? (i.e. explicit jumping)
-