A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
@Tom-Mensink Glad the script helped. I also took your advice and updated the script. Updated Script Below.
Client Authority Experiment Updated. http://www64.zippyshare.com/v/QgYCyCwG/file.html
This works completely. Attached to your player object with a trigger and it will grab the ID of any object that passes through the player trigger...
This version you can assign/remove client authority of any object just entering and exiting the player trigger zone.
Got it working over here. https://forum.unity.com/threads/assigning-gameobject-ball-authority.495961/
Using Unity 5.42 Okay Here's the full script that is attached to the player that can assign client authority and remove client authority. Ball is...
Assigning and Removing client object for ball object on triggerStay when pressing F, and triggerExit. Trigger stay assigns object, trigger exit...
Okay so far I can remove and assign client authority for the host spawned object that is spawned by G, by removing authority when player exits...
Okay I solved that problem and a few other issues after that, so I get no errors concerning the script.. The only problem now is that it says I...
It's line 28 NullReferenceException: Object reference not set to an instance of an object ObjectAuthority.OnTriggerStay (UnityEngine.Collider...
Now my problem is "reference not set to an instance of an object". So far I have this script attached. attached to the object: using...
Full script please.
okay, i want to try the following, but how do I call it without getting an over-ride error? [Command] void...
Hi I'm having a problem assigning authority to clients. The Host can remove the authority of an object spawned by the client but can not regain...
THE BEST BEST BEST BEST BEST BEST ANSWER!!!