- Home /
How can i synchronize prefab with NetworkTranform?
I have one prefab per player, my problem is for each prefab have a parent with transform and children who have a RigidBody2D. Transform is for rotate children inside a circle and RigidBody to make gravity on child.
I only can synchronize by NetworkTransform the transform (players see others move, but, don't affect gravity) or RigidBody (players see others jumping, but, don't move).
How can i synchronize the jump and movement in NetworkTransform?
Answer by vegapp · May 06, 2018 at 03:28 PM
I solved by myself putting a "NetworkTrandformChild" on parent and passing child to script, then syncing parent by RigidBody2D. At least, that's working for me. Thanks a lot.
Your answer
Follow this Question
Related Questions
Why does this piece of code work with gravity and this one dosent 2 Answers
Rigidbody2D AddForce only working with large numbers 2 Answers
In unity3d client “push” an object with a rigidbody2d slower than the host 0 Answers
a better movement code C# 3 Answers
How do I make a character Lunge? 2 Answers