UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AxleModule.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
7#define UE_API CHAOSVEHICLESCORE_API
8
9
10namespace Chaos
11{
12 struct FAllInputs;
13 class FSimModuleTree;
14
19 {
21 : AxleInertia(1.f) // TODO: defaults
22 {
23
24 }
25
27 };
28
33 class FAxleSimModule : public FTorqueSimModule, public TSimModuleSettings<FAxleSettings>, public TSimulationModuleTypeable<FAxleSimModule>
34 {
35 public:
37 UE_API FAxleSimModule(const FAxleSettings& Settings);
38
39 virtual const FString GetDebugName() const { return TEXT("Axle"); }
40
41 UE_API virtual void Simulate(float DeltaTime, const FAllInputs& Inputs, FSimModuleTree& VehicleModuleSystem) override;
42
43 private:
44 };
45
46
47} // namespace Chaos
48
49#undef UE_API
#define TEXT(x)
Definition Platform.h:1272
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UE_API
Definition SColorGradingComponentViewer.h:12
A vehicle component that transmits torque from one source to another, i.e. from an engine or differen...
Definition AxleModule.h:34
DEFINE_CHAOSSIMTYPENAME(FAxleSimModule)
virtual UE_API void Simulate(float DeltaTime, const FAllInputs &Inputs, FSimModuleTree &VehicleModuleSystem) override
Definition AxleModule.cpp:20
virtual const FString GetDebugName() const
Definition AxleModule.h:39
Definition SimModuleTree.h:98
Definition TorqueSimModule.h:52
Definition SimulationModuleBase.h:113
Definition ModuleFactoryRegister.h:42
Definition SkeletalMeshComponent.h:307
Definition SimulationModuleBase.h:65
Axle settings.
Definition AxleModule.h:19
float AxleInertia
Definition AxleModule.h:26
FAxleSettings()
Definition AxleModule.h:20