- Home /
Multiplayer problem - 2nd player erratic movment?
Hi everyone,
I would like to ask for you input/help. I am starting to add multiplayer to my game, I could not get it done in my real games so started testing with a tutorial this kind of works. It works but when I instantiate a player/bike the 2nd bike becomes very jerky/jumpy , as if the gravity is messed or colliders are hitting all the time. I have generated a short video to demonstrate or show the issue, see here:
https://www.youtube.com/watch?v=S1VMJxqUmJ0&feature=youtu.be
I am probably doing something really stupid, I would appreciate it if someone can show me the correct way or what I am doing incorrectly perhaps. Thanks, Kim
Hi, apologies for asking so soon, wondered if anyone has any ideas on this?
Hi thanks for the reply, I tried that, got rid of the code that gave the error, that does seem to help a tiny bit but the view is very flickery and jumpy...seems the colliders are doing weird things?
Check for variables being initialized to null, or other odd values. Also, maybe if you arent using something like a Network View to check if the code belongs to a player [if(networkView.is$$anonymous$$ine)] you could have some issues.
EDIT: Also try making the bikes larger.
I had a similar problem once, it had to do with rigid body settings, and colliders both. but that was a long time ago. yet could check them. see if any part is set to a difrent setting.
Your answer
Follow this Question
Related Questions
Moving a 2D character along the X and Z axis only. 1 Answer
Problem building for web 0 Answers
Buying an Item from the Shop for One Player 1 Answer
Player Going Backwards on Waypoint Path Issue 0 Answers
Multiplayer Movement 0 Answers