Navigation
API > API/Plugins > API/Plugins/ChaosVehicles > API/Plugins/ChaosVehicles/UChaosVehicleMovementComponent
- UChaosVehicleMovementComponent::ComputeConstants()
- UChaosWheeledVehicleMovementComponent::ComputeConstants()
References
| Module | ChaosVehicles |
| Header | /Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Public/ChaosVehicleMovementComponent.h |
| Include | #include "ChaosVehicleMovementComponent.h" |
| Source | /Engine/Plugins/Experimental/ChaosVehiclesPlugin/Source/ChaosVehicles/Private/ChaosVehicleMovementComponent.cpp |
virtual void ComputeConstants()
Remarks
When vehicle is created we want to compute some helper data like drag area, etc.... Derived classes should use this to properly compute things like engine RPM