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 - unsigned long
        speed - float
      • getWheelRotationSpeed

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

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

        public float getWheelRotationAngle​(int wheelIdx)
        Parameters:
        wheelIdx - unsigned long
        Returns:
        float
      • getNbWheelRotationSpeed

        public int getNbWheelRotationSpeed()
        Returns:
        unsigned long
      • getNbWheelRotationAngle

        public int getNbWheelRotationAngle()
        Returns:
        unsigned long