• 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
Question by p.margarida · Jun 01, 2012 at 02:51 PM · animationnetworkingnetworkkinect

Synchronizing objects over the network

Hey!

I'm working with Unity and zigfu drivers (Kinect), and I'm having one problem now... First of all I need to know if it's possible to use the network capabilities of Unity with zigfu drivers. For my work (academic research) I want to control an avatar through the network. I control the avatar in my computer and I want to see it move in another computer. Supposedly, the main scenario allows the user to see other avatars moving. For now I can't syncronize the animation of the avatar. I can see the animation in my pc, but in the other i can't.

I'm a little bit lost here, and I need help with this...

If someone knows how to do this, please help me!

Congrats,

Paula

Comment

People who like this

0 Show 0
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

4 Replies

· Add your reply
  • Sort: 
avatar image

Answer by luckruns0ut · Jun 01, 2012 at 03:06 PM

You need a network view component. This is the component used to stream the positions and transformations of objects over a network, and it does animations too.

Comment

People who like this

0 Show 0 · 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

Answer by p.margarida · Jun 01, 2012 at 04:44 PM

Hey!

Thank you luckruns0ut for your reply! =) I think that I have done that already... But anyway, I will describe what I've done.

-I've the example from zigfu (the avatar) that is a prefab. I've attached to this prefab the network view component and instantiated the object in the nertwork:

 Network.Instantiate(player, transform.position, transform.rotation, 0);

I have tried to synchronize animation this way, but that doesn't work... After doing some research, I've read that maybe I should assign the rigidbody component to the player prefab. So I did, and assigned the network component to the rigidbody. And still doesn't work...

So I don't know what I'm really doing wrong here...

The image shows how I've done so far.

Thanks!

alt text


Img_post_unityanswers.jpg (112.2 kB)
Comment

People who like this

0 Show 0 · 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

Answer by p.margarida · Jun 29, 2012 at 02:30 PM

After weeks of erros and search, I finally solved the problem... I've changed the framework to the OpenNI Unity Toolkit and the network and synchronization is working!

Comment

People who like this

0 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 ramandesingh88 · Feb 11, 2014 at 05:33 AM 0
Share

@p.margarida hi,can u plz explain me how u have solved the synchronizing of objects in network.I too tried using network view component and instantiate the object bit some networking issues make me away from synchronization of objects

avatar image

Answer by MMO-Developer · Mar 29, 2013 at 11:33 PM

How you solve problem with networking ?

Comment

People who like this

0 Show 0 · 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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

7 People are following this question.

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

Related Questions

Failed to connect to master server since days 1 Answer

Networked Animation Playing Wrong 1 Answer

SuperJump and SuperSpeed 2 Answers

Network - Client still in Network.Connections after disconnect 2 Answers

Unity Multiplayer Design. Is it complicated to implement and learn? 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