浮漂修改

This commit is contained in:
2026-02-27 00:40:45 +08:00
parent 9a92e30a5f
commit fedef338c1
11 changed files with 1268 additions and 175 deletions

View File

@@ -70,6 +70,7 @@ MonoBehaviour:
groundCastDistance: 2.5
groundSampleStep: 3
groundInterpolate: 1
groundUpdateEvery: 1
renderSubdivisionsIdle: 6
renderSubdivisionsMoving: 2
movingSpeedThreshold: 2
@@ -453,6 +454,7 @@ GameObject:
- component: {fileID: 54298866000586118}
- component: {fileID: 153691655494134957}
- component: {fileID: 2717383850592950062}
- component: {fileID: 3104700584461846010}
m_Layer: 16
m_Name: Float
m_TagString: Untagged
@@ -618,6 +620,30 @@ MonoBehaviour:
m_EditorClassIdentifier: Assembly-CSharp::NBF.BobberController
_rbody: {fileID: 54298866000586118}
joint: {fileID: 153691655494134957}
_buoyancy: {fileID: 3104700584461846010}
--- !u!114 &3104700584461846010
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1858052053854210}
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dd1aa9f0de8b435448c6893ecc60d021, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Buoyancy
includeDeformation: 1
sphereRadiusApproximation: 0.1
waveForceMultiplier: 0.01
currentSpeedMultiplier: 0.01
dragMultiplier: 1
defaultRigidbodyDrag: 5
underwaterRigidbodyAngularDrag: 5
overwaterRigidbodyAngularDrag: 1
surfaceTensionDamping: 10
applyForceWithRandomOffset: 0
drawDebug: 1
--- !u!1 &1933124697579601
GameObject:
m_ObjectHideFlags: 0
@@ -688,6 +714,7 @@ MonoBehaviour:
groundCastDistance: 2.5
groundSampleStep: 3
groundInterpolate: 1
groundUpdateEvery: 1
renderSubdivisionsIdle: 6
renderSubdivisionsMoving: 2
movingSpeedThreshold: 2

View File

@@ -10,7 +10,7 @@ GameObject:
m_Component:
- component: {fileID: 4943038628811238}
- component: {fileID: 4160997794325361152}
- component: {fileID: -1878270173486354861}
- component: {fileID: 642471695031276768}
m_Layer: 0
m_Name: bob_25004
m_TagString: Untagged
@@ -31,12 +31,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4033285271709525}
- {fileID: 4753668062539042}
- {fileID: 4391537656274936}
- {fileID: 4219322353105327}
- {fileID: 4083127709589988}
- {fileID: 4696959239802335}
- {fileID: 2628037665683154556}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: -0, z: -0}
--- !u!114 &4160997794325361152
@@ -56,8 +51,8 @@ MonoBehaviour:
topConnector: {fileID: 4753668062539042}
bottomConnector: {fileID: 4391537656274936}
waterline: {fileID: 4083127709589988}
--- !u!65 &-1878270173486354861
BoxCollider:
--- !u!136 &642471695031276768
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
@@ -74,9 +69,11 @@ BoxCollider:
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 0.005, y: 0.005, z: 0.005}
m_Center: {x: 0, y: -0.01, z: 0}
serializedVersion: 2
m_Radius: 0.002
m_Height: 0.03
m_Direction: 1
m_Center: {x: 0, y: 0.01, z: 0}
--- !u!1 &1236424003946422
GameObject:
m_ObjectHideFlags: 0
@@ -86,7 +83,6 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 4219322353105327}
- component: {fileID: 136815202583894138}
m_Layer: 0
m_Name: _body
m_TagString: Untagged
@@ -102,36 +98,13 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1236424003946422}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0.028749999, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4943038628811238}
m_Father: {fileID: 2628037665683154556}
m_LocalEulerAnglesHint: {x: 0, y: -0, z: -0}
--- !u!136 &136815202583894138
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1236424003946422}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.002
m_Height: 0.035
m_Direction: 1
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &1256211692469512
GameObject:
m_ObjectHideFlags: 0
@@ -162,7 +135,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4943038628811238}
m_Father: {fileID: 2628037665683154556}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!136 &136849029598565726
CapsuleCollider:
@@ -211,12 +184,12 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1342355430950628}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0.00627, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4943038628811238}
m_Father: {fileID: 2628037665683154556}
m_LocalEulerAnglesHint: {x: 0, y: -0, z: -0}
--- !u!1 &1364623190328362
GameObject:
@@ -242,12 +215,12 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1364623190328362}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0.0375, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4943038628811238}
m_Father: {fileID: 2628037665683154556}
m_LocalEulerAnglesHint: {x: 0, y: -0, z: -0}
--- !u!1 &1435124216471202
GameObject:
@@ -273,12 +246,12 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1435124216471202}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0.05351, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4943038628811238}
m_Father: {fileID: 2628037665683154556}
m_LocalEulerAnglesHint: {x: 0, y: -0, z: -0}
--- !u!1 &1792318500355349
GameObject:
@@ -306,12 +279,12 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1792318500355349}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4943038628811238}
m_Father: {fileID: 2628037665683154556}
m_LocalEulerAnglesHint: {x: 0, y: -0, z: -0}
--- !u!33 &33680541704296896
MeshFilter:
@@ -369,3 +342,40 @@ MeshRenderer:
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &1696436611728297872
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2628037665683154556}
m_Layer: 0
m_Name: bob
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2628037665683154556
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1696436611728297872}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -0.04, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4033285271709525}
- {fileID: 4753668062539042}
- {fileID: 4391537656274936}
- {fileID: 4219322353105327}
- {fileID: 4083127709589988}
- {fileID: 4696959239802335}
m_Father: {fileID: 4943038628811238}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}