Get steering angle of RV tugging entity;
then set the steering of the vehicle being tugged to the tugger’s vehicle; While this works wonders, the problem is that that’s not how physics works. Physics dictate that the vehicle being towed’s front wheels should match the DIRECTION of the vehicle ahead rather than the STEERING ANGLE of the vehicle ahead.
The problem is that I don’t know how to get this value. It seems steering angle is a vary low decimal number denoted by a negative scientific notation-stored value, but I have no clue how to calculate that relative to the entity; Any ideas?
As you can see, these values are of different datatypes; And unfortunately, I don’t know how the steering angle is calculated so I can’t use math to match the angle of the first vehicle;
Like I understand what you’re saying but the heading isn’t a valid input type for SetVehicleSteeringAngle, ya know?
No problem; I’ve been looking at something called the bearing, and am seeing how it’s possible to calculate that, but if you come across something, please lmk!