Data structure describing non-wheel configuration data of a vehicle that has engine, gears, clutch, and auto-box.
More...
#include <PxVehicleDrive.h>
|
| bool | isValid () const |
| | Test that a PxVehicleDriveSimData instance has been configured with legal data. Call only after setting all components with setEngineData,setGearsData,setClutchData,setAutoBoxData.
|
| |
Data structure describing non-wheel configuration data of a vehicle that has engine, gears, clutch, and auto-box.
- See also
- PxVehicleWheelsSimData for wheels configuration data.
◆ isValid()
| bool physx::PxVehicleDriveSimData::isValid |
( |
| ) |
const |
|
protected |
◆ setAutoBoxData()
Set the autobox data.
- Parameters
-
| [in] | autobox | - the data stored in autobox is copied to the vehicle's autobox. |
◆ setClutchData()
Set the clutch data.
- Parameters
-
| [in] | clutch | - the data stored in clutch is copied to the vehicle's clutch. |
◆ setEngineData()
Set the engine data.
- Parameters
-
| [in] | engine | - the data stored in engine is copied to the vehicle's engine. |
◆ setGearsData()
Set the gears data.
- Parameters
-
| [in] | gears | - the data stored in gears is copied to the vehicle's gears. |
The documentation for this class was generated from the following files:
- RavEngine/deps/physx/physx/include/vehicle/PxVehicleDrive.h
- RavEngine/deps/physx/physx/source/physxvehicle/src/PxVehicleDrive.cpp
- RavEngine/deps/physx/physx/source/physxvehicle/src/PxVehicleMetaData.cpp