-
Notifications
You must be signed in to change notification settings - Fork 457
Open
Labels
type:supportQuestions or other supportQuestions or other support
Description
I try to change the authority mode for client's players objects after they got initialized.
I use the ClientNetworkTransform sample script that overrides the OnIsServerAuthoritative() method to return the right boolean value for switching between authority modes. But it seems to work on initialization only... Here is my case:
- Create a server
- Connect to it with a client while its PlayerObject has a script overriding OnIsServerAuthoritative and makes it return true
- Later, change the value return by this same overriden method to make it return false
- Movement should be now client-driven but they are not, even by switching the Rigidbody back to non-kinematic
Is it a way to change a player's object authority mode AFTER its initialization?
Metadata
Metadata
Assignees
Labels
type:supportQuestions or other supportQuestions or other support