Class PxControllerState

java.lang.Object
physx.NativeObject
physx.character.PxControllerState

public class PxControllerState extends NativeObject
Describes a controller's internal state.
  • 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

      public static PxControllerState wrapPointer(long address)
    • arrayGet

      public static PxControllerState arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
    • getDeltaXP

      public PxVec3 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

      public void setDeltaXP(PxVec3 value)
      delta position vector for the object the CCT is standing/riding on. Not always match the CCT delta when variable timesteps are used.
    • getTouchedShape

      public PxShape getTouchedShape()
      Shape on which the CCT is standing
    • setTouchedShape

      public void setTouchedShape(PxShape value)
      Shape on which the CCT is standing
    • getTouchedActor

      public PxRigidActor getTouchedActor()
      Actor owning 'touchedShape'
    • setTouchedActor

      public void setTouchedActor(PxRigidActor value)
      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)