MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetCurrentGear

Method SetCurrentGear

Source/Engine/Physics/Actors/WheeledVehicle.cpp:300–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300void WheeledVehicle::SetCurrentGear(int32 value)
301{
302#if WITH_VEHICLE
303 if (_vehicle && _driveType != DriveTypes::NoDrive)
304 PhysicsBackend::SetVehicleCurrentGear(_vehicle, value);
305#endif
306}
307
308int32 WheeledVehicle::GetTargetGear() const
309{

Callers 1

UpdateVehiclesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected