-
-
Notifications
You must be signed in to change notification settings - Fork 107
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug?
Then a prop is Pickup Interactable and has gravity; it slowly starts falling if in a network session.
Steps to Reproduce
Working:
- Spawn a prop with Pickup Interactable and gravity.
- Grab it on a local session. (It works as expected.)
Broken:
- Join a server
- Spawn a prop with Pickup Interactable and gravity.
- Grab it on a local session.
- It slowly starts falling.
The expected behavior
It should not override the isKinematic flag on the Rigidbody like it would without a network session.
Screenshots
No response
Build Info
latest developer in editor
Log Files
No relevant logs
Additional Context
BasisObjectSyncNetworking.ControlState() currently forces isKinematic = false for the local owner, which overrides pickup behavior.
ownership transfer calls ControlState() after pickup starts, and that currently forces isKinematic = false, undoing KinematicWhileInteracting.
Possible fix
Only force non-kinematic when locally owned and not currently interacting, so pickup kinematic state is no longer overwritten during ownership transfer.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working