Package physx.vehicle

Class PxVehicleWheelsDynData

    • Constructor Detail

      • PxVehicleWheelsDynData

        protected PxVehicleWheelsDynData()
      • PxVehicleWheelsDynData

        protected PxVehicleWheelsDynData​(long address)
    • Method Detail

      • destroy

        public void destroy()
      • setToRestState

        public void setToRestState()
      • setWheelRotationSpeed

        public void setWheelRotationSpeed​(int wheelIdx,
                                          float speed)
        Parameters:
        wheelIdx - WebIDL type: unsigned long
        speed - WebIDL type: float
      • getWheelRotationSpeed

        public float getWheelRotationSpeed​(int wheelIdx)
        Parameters:
        wheelIdx - WebIDL type: unsigned long
        Returns:
        WebIDL type: float
      • setWheelRotationAngle

        public void setWheelRotationAngle​(int wheelIdx,
                                          float angle)
        Parameters:
        wheelIdx - WebIDL type: unsigned long
        angle - WebIDL type: float
      • getWheelRotationAngle

        public float getWheelRotationAngle​(int wheelIdx)
        Parameters:
        wheelIdx - WebIDL type: unsigned long
        Returns:
        WebIDL type: float
      • copy

        public void copy​(PxVehicleWheelsDynData src,
                         int srcWheel,
                         int trgWheel)
        Parameters:
        src - WebIDL type: PxVehicleWheelsDynData [Const, Ref]
        srcWheel - WebIDL type: unsigned long
        trgWheel - WebIDL type: unsigned long
      • getNbWheelRotationSpeed

        public int getNbWheelRotationSpeed()
        Returns:
        WebIDL type: unsigned long
      • getNbWheelRotationAngle

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