Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Ben Ezard · Jan 20, 2013 at 04:21 PM · multiplayernetworklagvibrationvibrate

Network Vibration Problem

So I have 2 clients connected to my server. The server is running in the Editor, and the 2 clients are running as built games on the same machine as the Editor. The "Run In Background" setting is enabled. Each client controls a spaceship, which fly around quite nicely, and each client can see both their own spaceship and the other person's. However, the other person's spaceship always vibrates, no matter how high I set the sendrate. Neither of the spaceships have a rigidbody or collider component. Anybody got any ideas on what might be causing the vibration, and if so, how to fix it? Thanks

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Professor Snake · Jan 20, 2013 at 05:30 PM 0
Share

Perhaps you could be more specific about the kind of vibration that happens.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Dreamora · Jan 20, 2013 at 04:43 PM

If I had to guess I would assume that you are too far away from the 0,0,0 point of your scene or that the scale you applied is not suitable for your situation. On both these cases, you run into 'simple' float precision problems which for euler angles, that use trigonometric functions for their handling, results in instable numbers which cause exactly this kind of issue (or depth flickering if you have nearly parallel, nearly equal planes or surfaces intersecting for example)

As you mention that it happens only for the other one, I'm though in the situation where I am not sure how thats happening as its normally 'all or none' unless your ships differ enough in scale for it to affect one but not the other. A bit more information on how your networking works, if you use what Unity Networking Example / M2H Networking offer or not for example, so the situation can be checked more indepth

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Ben Ezard · Jan 20, 2013 at 05:25 PM 0
Share

Both the ships are identical, and are instantiated at (0,0,0) when they connect.

They have a parent object, scale (0.1,0.1,0.1), with a network view observing its Transform component.

As a child they have the actual model itself, scale (2, 2, 2), with another network view watching its own Transform component Could this difference of scales be the cause of the problem? Networking is simple Network.InitializeServer() for the server, and Network.Connect() for the clients.

avatar image Ben Ezard · Jan 20, 2013 at 05:57 PM 0
Share

Just tried out making all the scaling equal, and there is now no vibration

Thanks for the help! :D

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiplayer Rigidbody Vibration 2 Answers

Optimize iPad multiplayer? 1 Answer

Reducing lag in networking. 1 Answer

Few questions regarding multiplayer! 1 Answer

Problem - player networking lags 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges