Class PxControllerHit

java.lang.Object
physx.NativeObject
physx.character.PxControllerHit
Direct Known Subclasses:
PxControllerObstacleHit, PxControllerShapeHit, PxControllersHit

public class PxControllerHit extends NativeObject
Describes a generic CCT hit.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxControllerHit

      protected PxControllerHit()
    • PxControllerHit

      protected PxControllerHit(long address)
  • Method Details

    • wrapPointer

      public static PxControllerHit wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getController

      public PxController getController()
      Current controller
    • setController

      public void setController(PxController value)
      Current controller
    • getWorldPos

      public PxExtendedVec3 getWorldPos()
      Contact position in world space
    • setWorldPos

      public void setWorldPos(PxExtendedVec3 value)
      Contact position in world space
    • getWorldNormal

      public PxVec3 getWorldNormal()
      Contact normal in world space
    • setWorldNormal

      public void setWorldNormal(PxVec3 value)
      Contact normal in world space
    • getDir

      public PxVec3 getDir()
      Motion direction
    • setDir

      public void setDir(PxVec3 value)
      Motion direction
    • getLength

      public float getLength()
      Motion length
    • setLength

      public void setLength(float value)
      Motion length