- Home /
How to Sync IK using UNET ?
I have created a simple game where a character can enter or exit spaceship to fly with it (like GTA but I use spaceship instead of vehicles), the player can take guns and Aim and shoot . for the aiming proccess I have used IK, where the player hands positons and ratations are controlled by the gun (using IK). I created all my script with UNet in mind, every think is grate but I have a problem : when the player aim, this animation is simply not synced over the network ! because I don't use an animation, the NetworkAnimator component can't help me ! what should I do !
Answer by GrandAlchemist · Jun 27, 2016 at 10:24 AM
All the IK movement should be processed on the local client. Figure out how to send the IK target position over network, then tell the remote player IK to follow the networked IK target position. Hope this points you in the right direction.
@GrandAlchemist This is what I discovered recently, thanks for your response. I am currently working on making up the other player movement are on the customer, and I am not using NetworkTransform or NetworkAnimator anymore. I am sending simple commands to the server so the clients can respond and take acts such as moving other players but I am facing some problems but this will be another story . Thanks
Your answer
![](https://koobas.hobune.stream/wayback/20220612082431im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
When the game starts, how can I instantiate a ball onto a random client? 0 Answers
How to port forward via script in unity 0 Answers
Photon Multiplayer not Syncing 0 Answers
Is it possible to make a Multiplayer (1v1) game WITHOUT hosting servers? 3 Answers
Help with multiplayer Unity Network Game 0 Answers