Package physx.vehicle

Class PxVehicleTopLevelFunctions


  • public class PxVehicleTopLevelFunctions
    extends NativeObject
    • Constructor Detail

      • PxVehicleTopLevelFunctions

        protected PxVehicleTopLevelFunctions()
      • PxVehicleTopLevelFunctions

        protected PxVehicleTopLevelFunctions​(long address)
    • Method Detail

      • destroy

        public void destroy()
      • InitVehicleSDK

        public static boolean InitVehicleSDK​(PxPhysics physics)
        Parameters:
        physics - WebIDL type: PxPhysics [Ref]
        Returns:
        WebIDL type: boolean
      • PxVehicleComputeSprungMasses

        public static void PxVehicleComputeSprungMasses​(int nbSprungMasses,
                                                        PxVec3 sprungMassCoordinates,
                                                        PxVec3 centreOfMass,
                                                        float totalMass,
                                                        int gravityDirection,
                                                        PxRealPtr sprungMasses)
        Parameters:
        nbSprungMasses - WebIDL type: unsigned long
        sprungMassCoordinates - WebIDL type: PxVec3 [Const]
        centreOfMass - WebIDL type: PxVec3 [Const, Ref]
        totalMass - WebIDL type: float
        gravityDirection - WebIDL type: unsigned long
        sprungMasses - WebIDL type: PxRealPtr [Ref]
      • VehicleSetBasisVectors

        public static void VehicleSetBasisVectors​(PxVec3 up,
                                                  PxVec3 forward)
        Parameters:
        up - WebIDL type: PxVec3 [Const, Ref]
        forward - WebIDL type: PxVec3 [Const, Ref]
      • VehicleSetUpdateMode

        public static void VehicleSetUpdateMode​(int vehicleUpdateMode)
        Parameters:
        vehicleUpdateMode - WebIDL type: PxVehicleUpdateModeEnum [enum]
      • PxVehicleTireData_getFrictionVsSlipGraph

        public static float PxVehicleTireData_getFrictionVsSlipGraph​(PxVehicleTireData tireData,
                                                                     int m,
                                                                     int n)
        Parameters:
        tireData - WebIDL type: PxVehicleTireData
        m - WebIDL type: unsigned long
        n - WebIDL type: unsigned long
        Returns:
        WebIDL type: float
      • PxVehicleTireData_setFrictionVsSlipGraph

        public static void PxVehicleTireData_setFrictionVsSlipGraph​(PxVehicleTireData tireData,
                                                                    int m,
                                                                    int n,
                                                                    float value)
        Parameters:
        tireData - WebIDL type: PxVehicleTireData
        m - WebIDL type: unsigned long
        n - WebIDL type: unsigned long
        value - WebIDL type: float