altv-issues icon indicating copy to clipboard operation
altv-issues copied to clipboard

SteeringAngle property doesn't work on client side with local vehicle

Open drakeee opened this issue 1 year ago • 0 comments

Description of the problem

SteerinAngle property doesn't work with local vehicles on client side, neither the setter nor the getter.

Reproduction steps

ILocalVehicle testVehicle = Alt.CreateLocalVehicle(
    AltV.Net.Enums.VehicleModel.Infernus,
    Alt.LocalPlayer.Dimension,
    new Position(0, 0, 73),
    new Rotation(0, 0, 0),
    false,
    1000);


Alt.EveryTick(() =>
{
    Alt.Log($"Steering angle: {testVehicle.SteeringAngle}"); //returns zero all the time even tho the vehicle is steering left or right
    //testVehicle.SteeringAngle = 1; //does nothing
});

Expected behaviour

Should be able to get the correct steering angle or set it on local vehicles.

Additional context

No response

Operating system

Windows 11

Version

release/16.0.15

Crashdump ID

No response

Confirmation of issue's presence

  • [X] By submitting this ticket, I affirm that I have verified the presence of this issue on the latest developer version available at the time of writing this ticket.

drakeee avatar Jan 17 '24 16:01 drakeee