Alright, So I’m trying to make a bus simulator game and, I want to add a Steering wheel Gui for mobile controls. How do I do that?
Let dragging manipulate the rotation and based on the rotation value turn the vehicle.
Yes, But if the rotation goes above 90 deg or below -90 deg, It doesn’t output 0-180 it just outputs 0-90.
Then limit it to only -90 <= x <= 90
That’s unrealistic, Most steering wheels go 180 Or 360.
Yes, but the title make this unclear. I thought you were only trying to make this a 180 degree steering wheel, not a full 360.
Yes, I am trying to make it 180 degrees
I was just using 180-360 as an example for how a real steering wheel works
But if you aren’t needing this to work like a real steering wheel, then -90 <= x <= 90 will work for you.
I’m going for something realistic
I’m confused. Are you going for realistic? Do you want this to be <180 or 180/360?
Not 180-360, I mean steering wheels in real life usually turn 180 degrees OR 360 degrees.
And yes, I am going for a 180 degree wheel.
Wouldn’t something like degrees * 2 work for what you’re trying to achieve
I don’t think that would work lol