Package physx.vehicle

Class PxVehicleWheelsSimData

    • Constructor Detail

      • PxVehicleWheelsSimData

        protected PxVehicleWheelsSimData()
      • PxVehicleWheelsSimData

        protected PxVehicleWheelsSimData​(long address)
    • Method Detail

      • destroy

        public void destroy()
      • setChassisMass

        public void setChassisMass​(float chassisMass)
        Parameters:
        chassisMass - WebIDL type: float
      • free

        public void free()
      • copy

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

        public int getNbWheels()
        Returns:
        WebIDL type: unsigned long
      • getSuspTravelDirection

        public PxVec3 getSuspTravelDirection​(int id)
        Parameters:
        id - WebIDL type: unsigned long
        Returns:
        WebIDL type: PxVec3 [Const, Ref]
      • getSuspForceAppPointOffset

        public PxVec3 getSuspForceAppPointOffset​(int id)
        Parameters:
        id - WebIDL type: unsigned long
        Returns:
        WebIDL type: PxVec3 [Const, Ref]
      • getTireForceAppPointOffset

        public PxVec3 getTireForceAppPointOffset​(int id)
        Parameters:
        id - WebIDL type: unsigned long
        Returns:
        WebIDL type: PxVec3 [Const, Ref]
      • getWheelCentreOffset

        public PxVec3 getWheelCentreOffset​(int id)
        Parameters:
        id - WebIDL type: unsigned long
        Returns:
        WebIDL type: PxVec3 [Const, Ref]
      • getWheelShapeMapping

        public int getWheelShapeMapping​(int wheelId)
        Parameters:
        wheelId - WebIDL type: unsigned long
        Returns:
        WebIDL type: long
      • getSceneQueryFilterData

        public PxFilterData getSceneQueryFilterData​(int suspId)
        Parameters:
        suspId - WebIDL type: unsigned long
        Returns:
        WebIDL type: PxFilterData [Const, Ref]
      • getNbAntiRollBars

        public int getNbAntiRollBars()
        Returns:
        WebIDL type: unsigned long
      • setTireData

        public void setTireData​(int id,
                                PxVehicleTireData tire)
        Parameters:
        id - WebIDL type: unsigned long
        tire - WebIDL type: PxVehicleTireData [Const, Ref]
      • setSuspTravelDirection

        public void setSuspTravelDirection​(int id,
                                           PxVec3 dir)
        Parameters:
        id - WebIDL type: unsigned long
        dir - WebIDL type: PxVec3 [Const, Ref]
      • setSuspForceAppPointOffset

        public void setSuspForceAppPointOffset​(int id,
                                               PxVec3 offset)
        Parameters:
        id - WebIDL type: unsigned long
        offset - WebIDL type: PxVec3 [Const, Ref]
      • setTireForceAppPointOffset

        public void setTireForceAppPointOffset​(int id,
                                               PxVec3 offset)
        Parameters:
        id - WebIDL type: unsigned long
        offset - WebIDL type: PxVec3 [Const, Ref]
      • setWheelCentreOffset

        public void setWheelCentreOffset​(int id,
                                         PxVec3 offset)
        Parameters:
        id - WebIDL type: unsigned long
        offset - WebIDL type: PxVec3 [Const, Ref]
      • setWheelShapeMapping

        public void setWheelShapeMapping​(int wheelId,
                                         int shapeId)
        Parameters:
        wheelId - WebIDL type: unsigned long
        shapeId - WebIDL type: long
      • setSceneQueryFilterData

        public void setSceneQueryFilterData​(int suspId,
                                            PxFilterData sqFilterData)
        Parameters:
        suspId - WebIDL type: unsigned long
        sqFilterData - WebIDL type: PxFilterData [Const, Ref]
      • disableWheel

        public void disableWheel​(int wheel)
        Parameters:
        wheel - WebIDL type: unsigned long
      • enableWheel

        public void enableWheel​(int wheel)
        Parameters:
        wheel - WebIDL type: unsigned long
      • getIsWheelDisabled

        public boolean getIsWheelDisabled​(int wheel)
        Parameters:
        wheel - WebIDL type: unsigned long
        Returns:
        WebIDL type: boolean
      • setSubStepCount

        public void setSubStepCount​(float thresholdLongitudinalSpeed,
                                    int lowForwardSpeedSubStepCount,
                                    int highForwardSpeedSubStepCount)
        Parameters:
        thresholdLongitudinalSpeed - WebIDL type: float
        lowForwardSpeedSubStepCount - WebIDL type: unsigned long
        highForwardSpeedSubStepCount - WebIDL type: unsigned long
      • setMinLongSlipDenominator

        public void setMinLongSlipDenominator​(float minLongSlipDenominator)
        Parameters:
        minLongSlipDenominator - WebIDL type: float
      • getNbWheels4

        public int getNbWheels4()
        Returns:
        WebIDL type: unsigned long
      • getNbSuspensionData

        public int getNbSuspensionData()
        Returns:
        WebIDL type: unsigned long
      • getNbWheelData

        public int getNbWheelData()
        Returns:
        WebIDL type: unsigned long
      • getNbSuspTravelDirection

        public int getNbSuspTravelDirection()
        Returns:
        WebIDL type: unsigned long
      • getNbTireData

        public int getNbTireData()
        Returns:
        WebIDL type: unsigned long
      • getNbSuspForceAppPointOffset

        public int getNbSuspForceAppPointOffset()
        Returns:
        WebIDL type: unsigned long
      • getNbTireForceAppPointOffset

        public int getNbTireForceAppPointOffset()
        Returns:
        WebIDL type: unsigned long
      • getNbWheelCentreOffset

        public int getNbWheelCentreOffset()
        Returns:
        WebIDL type: unsigned long
      • getNbWheelShapeMapping

        public int getNbWheelShapeMapping()
        Returns:
        WebIDL type: unsigned long
      • getNbSceneQueryFilterData

        public int getNbSceneQueryFilterData()
        Returns:
        WebIDL type: unsigned long
      • getMinLongSlipDenominator

        public float getMinLongSlipDenominator()
        Returns:
        WebIDL type: float
      • setThresholdLongSpeed

        public void setThresholdLongSpeed​(float f)
        Parameters:
        f - WebIDL type: float
      • getThresholdLongSpeed

        public float getThresholdLongSpeed()
        Returns:
        WebIDL type: float
      • setLowForwardSpeedSubStepCount

        public void setLowForwardSpeedSubStepCount​(int f)
        Parameters:
        f - WebIDL type: unsigned long
      • getLowForwardSpeedSubStepCount

        public int getLowForwardSpeedSubStepCount()
        Returns:
        WebIDL type: unsigned long
      • setHighForwardSpeedSubStepCount

        public void setHighForwardSpeedSubStepCount​(int f)
        Parameters:
        f - WebIDL type: unsigned long
      • getHighForwardSpeedSubStepCount

        public int getHighForwardSpeedSubStepCount()
        Returns:
        WebIDL type: unsigned long
      • setWheelEnabledState

        public void setWheelEnabledState​(int wheel,
                                         boolean state)
        Parameters:
        wheel - WebIDL type: unsigned long
        state - WebIDL type: boolean
      • getWheelEnabledState

        public boolean getWheelEnabledState​(int wheel)
        Parameters:
        wheel - WebIDL type: unsigned long
        Returns:
        WebIDL type: boolean
      • getNbWheelEnabledState

        public int getNbWheelEnabledState()
        Returns:
        WebIDL type: unsigned long
      • getNbAntiRollBars4

        public int getNbAntiRollBars4()
        Returns:
        WebIDL type: unsigned long
      • getNbAntiRollBarData

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