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 !
1 Answer
1All 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
– AAKLb
It's for a spring effect within the hinge joint. It's not supposed to act like a spring joint.
– conman79I want it to spring back. Removing the spring yields the same problem.
– Konash