Added NetworkTransform, playerpos is now synced

This commit is contained in:
Stedd 2023-09-02 15:19:48 +02:00
parent 3324cf1f98
commit 546990ef9f
1 changed files with 36 additions and 1 deletions

View File

@ -287,6 +287,7 @@ GameObject:
- component: {fileID: 6498975337014063786}
- component: {fileID: 2811985185363063978}
- component: {fileID: 1756213952929103018}
- component: {fileID: 1712231977480214618}
m_Layer: 0
m_Name: Player
m_TagString: Untagged
@ -346,4 +347,38 @@ MonoBehaviour:
_playerNameObject: {fileID: 9109353986266369291}
_displayName: Missing Name
_playerColor: {r: 0, g: 0, b: 0, a: 1}
_transform: {fileID: 0}
--- !u!114 &1712231977480214618
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9197140212603367960}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8ff3ba0becae47b8b9381191598957c8, type: 3}
m_Name:
m_EditorClassIdentifier:
syncDirection: 0
syncMode: 0
syncInterval: 0
target: {fileID: 6498975337014063786}
clientAuthority: 0
syncPosition: 1
syncRotation: 1
syncScale: 0
interpolatePosition: 1
interpolateRotation: 1
interpolateScale: 1
coordinateSpace: 0
sendIntervalMultiplier: 1
timelineOffset: 0
showGizmos: 0
showOverlay: 0
overlayColor: {r: 0, g: 0, b: 0, a: 0.5}
onlySyncOnChange: 1
onlySyncOnChangeCorrectionMultiplier: 2
rotationSensitivity: 0.01
compressRotation: 0
positionPrecision: 0.01
scalePrecision: 0.01