0 votes
by
edited by
Steering wheel device has a turning arc from -95º to + 95º to reach the -1 to +1 steering value when I tested directly in a raw Windows calibration scene. While in VPP it reaches the maximum steering value (-1, +1)  at -50º to + 50º of steering wheel rotation.
I'm using:
vehicle.data.Set (Channel.Input, InputData.Steer, (int) (Input.GetAxis ("Horizontal") * 10000));
No steering aids.
Max steering angle 30
gravity 3.5
dead 0.001
sensitivity 1.5
Is there some setting that I miss?
How can I increase the steering wheel device turn angle inside VPP?

1 Answer

0 votes
by
The degrees of rotation of the steering wheel device must be configured externally to Unity using the device's setup tool. This value is managed by the device driver and we don't have access to it from VPP, or even from Unity alone.

Major wheel brands (Logitech, Fanatec, Thrustmaster) typically develop some SDK that allows to configure the wheel range from within the game. However this is strictly per-brand. Supporting in-game setup involves including and using every SDK from every wheel brand you expect your users to use with your game. This is not practical as there's a growing number of wheels in the market (Simucube, open sim wheel) some of which have no SDK exposed. So in the end you'll still depend on the setup the users configure in their wheels.

I'd recommend to follow the example of major racing simulators such as iRacing. These have an option for you to "inform" the simulator which range you has configured in it. It's your responsibility to actually configure your wheel to that range using the wheel's setup tool.
by
Yeap but,
I already have a setting device to provide the steering range and calibrate your device via Rewire. The point is, I get already a 190º turn lock to lock inside Unity. But when used in VPP, it has only 110º lock to lock. If a gived device has already a 190º lock to lock turn inside Unity, should not get the same lock to lock degrees in VPP with the default setting?
Is VPP using some non linear value or any other modifier over the steering ratio input? How can access it?

IRacing, for example, has a setting called "Steering ratio". This acts directly on the steering gear ratio. Do we have an equivalent variable in VPP? Any idea how we can simulate this?
I tried to modify: vehicle.data.Set(Channel.Input, InputData.Steer, (int)(Input.GetAxis("Horizontal") * 10000)); adding a kind of "steering ratio" modifier, but obviously, just reduce the "Max Steer Angle" parameter, not gaining any device turn.

Thanks.
...