FSimpleTransmissionSim::SetGear

Set the target gear number to change to, can change gear immediately if specified i.e. rather than waiting for the gear change time to elapse

Choose your operating system:

Windows

macOS

Linux

References

Module

ChaosVehiclesCore

Header

/Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Public/TransmissionSystem.h

Include

#include "TransmissionSystem.h"

Source

/Engine/Source/Runtime/Experimental/ChaosVehicles/ChaosVehiclesCore/Private/TransmissionSystem.cpp

Syntax

void SetGear
(
    int32 InGear,
    bool Immediate
)

Remarks

Set the target gear number to change to, can change gear immediately if specified i.e. rather than waiting for the gear change time to elapse