Class PxControllerShapeHit


public class PxControllerShapeHit extends PxControllerHit
Describes a hit between a CCT and a shape. Passed to onShapeHit()
See Also:
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxControllerShapeHit

      protected PxControllerShapeHit()
    • PxControllerShapeHit

      protected PxControllerShapeHit(long address)
  • Method Details

    • wrapPointer

      public static PxControllerShapeHit wrapPointer(long address)
    • arrayGet

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

      public void destroy()
      Overrides:
      destroy in class PxControllerHit
    • getShape

      public PxShape getShape()
      Touched shape
    • setShape

      public void setShape(PxShape value)
      Touched shape
    • getActor

      public PxRigidActor getActor()
      Touched actor
    • setActor

      public void setActor(PxRigidActor value)
      Touched actor
    • getTriangleIndex

      public int getTriangleIndex()
      touched triangle index (only for meshes/heightfields)
    • setTriangleIndex

      public void setTriangleIndex(int value)
      touched triangle index (only for meshes/heightfields)