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
7
Assets/Prefabs/Player.prefab.meta
Normal file
7
Assets/Prefabs/Player.prefab.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d5fa70ee7813c62479bdedf080cf16ab
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Add table
Add a link
Reference in a new issue