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:
megaproxy 2026-07-10 23:28:59 +01:00
parent 4536cc3726
commit 251ac8acec
5 changed files with 257 additions and 2 deletions

View file

@ -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}