How can I instantiate an object at a set position immediately for clients?

« Back to Previous Page
0
0

I am building a multiplayer action game and I’m running into a problem when instantiating player characters. If I try to instantiate players at set spawn points on game start, they first instantiate at the origin before being placed at the position I passed in causing them to blink on game start. I was looking through the code and noticed that the instantiated objects in the network manager don’t take a location or rotation parameter and that the position is set through an RPC call after the object is created, causing the flicker. Is there any fix for this besides rewriting the network object and object creation call to include position and rotation?

Marked as spam
Posted by szavala (Questions: 1, Answers: 0)
Asked on February 27, 2017 8:44 pm
29 views
« Back to Previous Page