USimpleWheeledVehicleMovementComponent

Simple n-wheeled vehicle with suspension and tire friction.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

PhysXVehicles

Header

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

Include

#include "SimpleWheeledVehicleMovementComponent.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=(Physics), Meta=(BlueprintSpawnableComponent),
       HideCategories=(PlanarMovement, "Components|Movement|Planar", Activation, "Components|Activation"))
class USimpleWheeledVehicleMovementComponent : public UWheeledVehicleMovementComponent

Remarks

Simple n-wheeled vehicle with suspension and tire friction. If you need a motor sim see UWheeledVehicleMovementComponent4W

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

SetBrakeTorque

(
    float BrakeTorque,
    int32 WheelIndex
)

Set the brake torque to be applied to a specific wheel

Public function UFunction BlueprintCallable, Category

void

 

SetDriveTorque

(
    float DriveTorque,
    int32 WheelIndex
)

Set the drive torque to be applied to a specific wheel

Public function UFunction BlueprintCallable, Category

void

 

SetSteerAngle

(
    float SteerAngle,
    int32 WheelIndex
)

Set the steer angle (in degrees) 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