#Network transform cannot be moved by Client.
12 messages · Page 1 of 1 (latest)
Client needs ownership. (assign authority to that network object)
Just note, if your trying to parent/child this networked item to another networked item, you may have a bad time.
And if so, see here: #🤝help-archive message
Oh.
Everything that the client is allowed to move directly must be authorized.
Now I've understood it.🤦♂️ 🙈
Yep, the alternative is to use sync var and hook on shovel, for a player network identity, and essentially have the Shovel assign transform to hand position if it has a sync var assigned, to avoid parent/childing. (and authority assigning code)
I cant find the example for this in the discord, but i know the #🥽vr demo has it, you can see its code without having to download or run it, via github.
Yes.
I'm working on a VR title and want to add multiplayer to it.
I'll have a look at the example.
Ahh OK.
That works.
Now I only have the problem that OnTriggerEnter is executed for everyone.
I want the trigger to be recognized locally and execute a ServerCommand.
I can't use isLocalPlayer because the script isn't attached to the player, right?
isOwned?
I have authorized the client to use it.
Surely this is not isOwned?
I don't understand it 100% yet.
Yes, it's owned.
But onTrigger does not rule.
Can the client execute that?
Or does OnTriggerEnter then have to trigger on the server side?