USimpleWheeledVehicleMovementComponent::SetDriveTorque

Set the drive torque to be applied to a specific wheel

Windows
MacOS
Linux

References

Module

PhysXVehicles

Header

/Engine/Plugins/Runtime/PhysXVehicles/Source/PhysXVehicles/Public/SimpleWheeledVehicleMovementComponent.h

Include

#include "SimpleWheeledVehicleMovementComponent.h"

Source

/Engine/Plugins/Runtime/PhysXVehicles/Source/PhysXVehicles/Private/SimpleWheeledVehicleMovementComponent.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category=Vehicle)
void SetDriveTorque
(
    float DriveTorque,
    int32 WheelIndex
)

Remarks

Set the drive torque to be applied to a specific wheel

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss