- Home /
Different movement speeds over network
Multi-player is a part of my game - at the moment it consists solely of each of the players flying a spaceship around However, I noticed that when I tested it using the Editor on my PC and on my Android phone at the same time, the spaceship on my PC moved a fair bit faster than the one on my phone I'm using
transform.Translate(0, 0, speed * Time.timeScale)
Any ideas on why this is happening, and how I could go about rectifying it? Thanks
Answer by whydoidoit · Jun 22, 2012 at 07:31 PM
Use speed * Time.deltaTime.
timeScale is the speed that the game is running - nothing to do with the frame rate on the device.
Ah thanks, I had a hunch that it would be something to do with framerate
Your answer
Follow this Question
Related Questions
How can I make a smooth movement for sync transform 0 Answers
Client Sprite cant be controlled when spawned by NetworkManager 1 Answer
Moving another player character on Network 1 Answer
How to smoothen out ball movement using Photon 1 Answer
Unity Network, smooth interaction between client and server player objects 0 Answers