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.
If you have any question regarding the tools, please post it here. Rajmond Berisha
Hi Leepo, I'm using your example 4 menu. It works fine but when I compile the web player and try to connect from a computer I cannot connect. But...
Downloading your package here is very slow. Maybe you can upload it in some uploading sites.
With this lobby it is a different story. Try this: public var CarObj : Transform; function OnLevelWasLoaded() {...
are connecting clients to the server?
are you creating the server and connecting clients to it?
Attach it to player or create an empty game object ant attach it. However here "public var CarObj : Transform;" by default is empty. You need to...
I think so. With this solution all clients are owners of their cars, so it is like before when the server was the owner and he could move them all.
that would instantiate for a server its own car/object, and for all possible clients who connect to the server as well. the function...
I cannot open speedyshare. I do not know why (it says "Internal Error")
So for the clients you instantiate it like this: public var CarObj : Transform; function OnConnectedToServer() {...
I cannot access this link!
It really depends from the scenario, and that's why I told you to send me your project. If those objects/cars are not in the scene then you could...
This is happening because you send the RPC without a condition, so all clients sent it to the server simultaneously at the same time!
Try this: the function OnNetworkInstantiate is called just when the object is instantiated and no more, so put that code inside the Update()...
It's difficult to understand the scenario like this. Could you send me your project (package) and I will check.
Yes. All objects that are instantiated during runtime belong to the server and when he moves them everybody gets it. However if you have objects...
yep
I see the problem. I was struggling with this a lot actually. Because when you have a same object in two scenes and then you want to send the RPC...
As seen from my code the function "OnMouseDrag" is called only when a user holds the mouse down and moves it. And the "DragRigidbody" script works...