M1: add replicated Player capsule prefab, set as NetworkConfig.PlayerPrefab
Capsule with Rigidbody (mass 2, upright constraints) + NetworkObject + NetworkTransform + PlayerDriver; auto-spawned per client, host-authoritative motion via input->ServerRpc->host AddForce->NetworkTransform replication. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
805ff1c980
commit
1be4730756
5 changed files with 257 additions and 2 deletions
|
|
@ -531,7 +531,7 @@ MonoBehaviour:
|
|||
NetworkConfig:
|
||||
ProtocolVersion: 0
|
||||
NetworkTransport: {fileID: 1571629440}
|
||||
PlayerPrefab: {fileID: 0}
|
||||
PlayerPrefab: {fileID: 1972506626464022285, guid: d5fa70ee7813c62479bdedf080cf16ab, type: 3}
|
||||
Prefabs:
|
||||
NetworkPrefabsLists:
|
||||
- {fileID: 11400000, guid: 26dc7ddf766d17a4f81221bfec5c38f7, type: 2}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue