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

Resolve item desync bug #1029

Merged
merged 4 commits into from
Feb 21, 2023
Merged

Conversation

henkhooft
Copy link
Contributor

Summary

Attempt at resolving the item desync bug.

Seems to be caused by having the not-kinematic option set by Item.cs when placing an item. Normally this is not an issue, but it seems to act in a strange manner in combination with a NetworkTransform on the client. When placed sideways, the rigidbody on an object causes a rotation sync which creates the position drift.

Please test more before merging since I had some difficulties reliably reproducing the issue.

Fixes

#1017

Copy link
Contributor

@stilnat stilnat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First screen shot is on develop, Second screenshot is from this PR . Both with host. It's messing with physics for some reasons, the cans are "stuck" in the vending machine. they don't dispense as expected.

image

image

@stilnat stilnat merged commit 045ae49 into RE-SS3D:develop Feb 21, 2023
@stilnat stilnat mentioned this pull request Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants