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
4536cc3726
commit
251ac8acec
5 changed files with 257 additions and 2 deletions
8
Assets/Prefabs.meta
Normal file
8
Assets/Prefabs.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a24dbb1a3faeb9e48a4467f3c47972c1
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Add table
Add a link
Reference in a new issue