MirrorNetworking / Mirror

#1 Open Source Unity Networking Library
https://mirror-networking.com
MIT License
5.26k stars 777 forks source link

fix(PredictionUtils): move freeze rotation before constraints #3946

Closed adriano-t closed 1 week ago

adriano-t commented 1 week ago

The freezeRotation was overriding the constraints in PredictionUtils.MoveRigidbody It is indeed a setter and when you set freezeRotation to false it clears all the three flags freezeX, freezeY, freezeZ, so it has to be set before the constraints