Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 slatius · Aug 09, 2011 at 10:04 AM · locomotion

Locomotion multiplayer

There are several question about this topic, but no tutorial or usable answer...

the animations don't work properlly if playing multiplayer mode?? I took a look into the bootcamp multiplayer demo, but with no luck... it's the same problem as this post http://answers.unity3d.com/questions/33446/locomotion-system-in-multiplayer.html#answer-154545

it has glitches when the players are moving.... :(

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by roamcel · Aug 09, 2011 at 10:16 AM

Well, to put it simply, there's no easy answer. The -only- way you'll get to understand how to implement multiplayer animations is

1- download unity's networking demo
2- access the separate examples and notice that -all- objects that need multiplayer synchronization have one 'networkView' item attached to them (you find it in component=> miscellaneous=> network view)
3- notice how you use the
networkView.RPC 
to execute functions on server, others or all multiplayer objects on the scene.

NETWORKING DEMO

Consider that these stupid few tips have just saved you one good day of googling around.

Comment
Add comment · Show 1 · 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 roamcel · Aug 10, 2011 at 06:30 AM 0
Share

What you're witnessing is a consequence of the 'network tick rate'. In simple words, the frequency at which packets are sent over the net. Since this is an expected behavior, you will need to integrate your gameobjects with an interpolation routine. The networking demo has such a routine both for transforms and animations. Check out the third person scene in particular.

Oh by the way you can influence the network tick rate in EDIT=>PROJECT SETTINGS=>NETWOR$$anonymous$$=>SEND RATE

avatar image
0

Answer by slatius · Aug 26, 2011 at 10:13 PM

ok this is how solved this problem...just make the network view observe the NetworkInterpolatedTransform component

 function Awake () {
    var i : NetworkView;
    i = this.gameObject.GetComponent(NetworkView);
    i.observed = this.gameObject.GetComponent("NetworkInterpolatedTransform");
 }

THERE IS a easy answer!! but thanks anyway... hope it was helpful, if you need more info e mail me. hugs and kisses xD

Comment
Add comment · 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

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Where can I find the Locomotion System tutorial? 4 Answers

Adapt locomotion system IK to position hands in animation? 1 Answer

Understand how locomotation system works 1 Answer

LocomotionSystem not working in Unity 5 2 Answers

Anyone have a 'click to move here' character controller script? 1 Answer


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