Package physx.physics

Class PxRigidActor

Direct Known Subclasses:
PxRigidBody, PxRigidStatic

public class PxRigidActor extends PxActor
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxRigidActor

      protected PxRigidActor()
    • PxRigidActor

      protected PxRigidActor(long address)
  • Method Details

    • wrapPointer

      public static PxRigidActor wrapPointer(long address)
    • arrayGet

      public static PxRigidActor arrayGet(long baseAddress, int index)
    • getGlobalPose

      public PxTransform getGlobalPose()
      Returns:
      WebIDL type: PxTransform [Value]
    • setGlobalPose

      public void setGlobalPose(PxTransform pose)
      Parameters:
      pose - WebIDL type: PxTransform [Const, Ref]
    • setGlobalPose

      public void setGlobalPose(PxTransform pose, boolean autowake)
      Parameters:
      pose - WebIDL type: PxTransform [Const, Ref]
      autowake - WebIDL type: boolean
    • attachShape

      public boolean attachShape(PxShape shape)
      Parameters:
      shape - WebIDL type: PxShape [Ref]
      Returns:
      WebIDL type: boolean
    • detachShape

      public void detachShape(PxShape shape)
      Parameters:
      shape - WebIDL type: PxShape [Ref]
    • detachShape

      public void detachShape(PxShape shape, boolean wakeOnLostTouch)
      Parameters:
      shape - WebIDL type: PxShape [Ref]
      wakeOnLostTouch - WebIDL type: boolean
    • getNbShapes

      public int getNbShapes()
      Returns:
      WebIDL type: unsigned long
    • getNbConstraints

      public int getNbConstraints()
      Returns:
      WebIDL type: unsigned long