Mikusch / source-vehicles

Driveable vehicles based on prop_vehicle_driveable for TF2, CS:S, and more
GNU General Public License v3.0
32 stars 5 forks source link

Entering a vehicle will snap the view angle of nearby players #2

Closed Mikusch closed 3 years ago

Mikusch commented 3 years ago

Entering a vehicle will cause nearby player's view angles to snap to different coordinates. This is related to the entry animation, which will snap the driver's view angle to the angle of the vehicle. From our testing, the view snapping will continue happening if the sequence never finishes, but while the entry animation is still running. This seems to only happen if you are within a certain range of the vehicle.

There is a function in shared code called SharedVehicleViewSmoothing which handles the view snapping, however from my knowledge that only ever gets executed for the player that actually entered the vehicle, and also contains some CLIENT_DLL stuff. Will need to investigate further, and determine if it is even possible to fix this.

Mikusch commented 3 years ago

Further explained in #9