Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

adriano-t
Copy link
Contributor

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

@adriano-t adriano-t changed the title fix: move freeze rotation before constraints fix(PredictionUtils): move freeze rotation before constraints Nov 19, 2024
@MrGadget1024 MrGadget1024 added bug Something isn't working Awaiting Review labels Nov 19, 2024
@miwarnec miwarnec merged commit e493812 into MirrorNetworking:master Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Review bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants