Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Server Moderato

VehicleWheeled:SetSteeringWheelSetup

Configures where the Steering Wheel is located, so Characters can grab it procedurally properly

Non ancora tradotto

Sintassi

Lua
my_vehicle_wheeled:SetSteeringWheelSetup(relative_location, radius, rotation = Rotator(0, 0, 0))

Parametri

Nome Tipo Predefinito Descrizione
relative_location Vector — Relative location of the steering wheel from the vehicle's origin
radius integer — Radius of the steering wheel to align the hands properly
rotation facoltativo Rotator Rotator(0, 0, 0) Rotation of the steering wheel to align the hands properly