Class PxVehicleRigidBodyState

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleRigidBodyState

public class PxVehicleRigidBodyState extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleRigidBodyState

      protected PxVehicleRigidBodyState(long address)
    • PxVehicleRigidBodyState

      public PxVehicleRigidBodyState()
  • Method Details

    • wrapPointer

      public static PxVehicleRigidBodyState wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getPose

      public PxTransform getPose()
      Returns:
      WebIDL type: PxTransform [Value]
    • setPose

      public void setPose(PxTransform value)
      Parameters:
      value - WebIDL type: PxTransform [Value]
    • getLinearVelocity

      public PxVec3 getLinearVelocity()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setLinearVelocity

      public void setLinearVelocity(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • getAngularVelocity

      public PxVec3 getAngularVelocity()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setAngularVelocity

      public void setAngularVelocity(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • getPreviousLinearVelocity

      public PxVec3 getPreviousLinearVelocity()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setPreviousLinearVelocity

      public void setPreviousLinearVelocity(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • getPreviousAngularVelocity

      public PxVec3 getPreviousAngularVelocity()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setPreviousAngularVelocity

      public void setPreviousAngularVelocity(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • getExternalForce

      public PxVec3 getExternalForce()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setExternalForce

      public void setExternalForce(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • getExternalTorque

      public PxVec3 getExternalTorque()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setExternalTorque

      public void setExternalTorque(PxVec3 value)
      Parameters:
      value - WebIDL type: PxVec3 [Value]
    • setToDefault

      public void setToDefault()
    • getVerticalSpeed

      public float getVerticalSpeed(PxVehicleFrame frame)
      Parameters:
      frame - WebIDL type: PxVehicleFrame [Const, Ref]
      Returns:
      WebIDL type: float
    • getLateralSpeed

      public float getLateralSpeed(PxVehicleFrame frame)
      Parameters:
      frame - WebIDL type: PxVehicleFrame [Const, Ref]
      Returns:
      WebIDL type: float
    • getLongitudinalSpeed

      public float getLongitudinalSpeed(PxVehicleFrame frame)
      Parameters:
      frame - WebIDL type: PxVehicleFrame [Const, Ref]
      Returns:
      WebIDL type: float