Here is how to setup the ghost components for third-person character prefabs:
Do the following for all 3 prefabs (ThirdPersonCharacter, ThirdPersonPlayer, OrbitCamera):
- Add a
Ghost Authoring Componentand aGhost Authoring Inspection Component. - Set the
Default Ghost Modeof theGhost Authoring ComponenttoOwner Predicted. - Set
Has Owneron theGhost Authoring Componentto true.
Do the following for the ThirdPersonCharacter prefab:
- In the
Ghost Authoring Inspection Component, use theDontSerializeVariantas the variant forPhysicsVelocity.
Do the following for the ThirdPersonPlayer prefab:
- In the
Ghost Authoring Component, make sureSupport Auto Command Targetis true. - In the
Ghost Authoring Inspection Component, use theDontSerializeVariantas the variant forLocalTransform.
Do the following for the OrbitCamera prefab:
- In the
Ghost Authoring Inspection Component, use theDontSerializeVariantas the variant forLocalTransform.