浮漂测试代码1

This commit is contained in:
2026-03-01 08:51:19 +08:00
parent 7ea3a7868c
commit 01a1c1c341
4 changed files with 246 additions and 34 deletions

View File

@@ -193,7 +193,7 @@ Rigidbody:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154764976}
serializedVersion: 5
m_Mass: 0.01
m_Mass: 0.1
m_LinearDamping: 0
m_AngularDamping: 0.05
m_CenterOfMass: {x: 0, y: 0, z: 0}
@@ -250,15 +250,16 @@ MonoBehaviour:
waterLevelY: 0
enterWaterDepth: 0.003
smoothDepth: 0.02
buoyancySpring: 30
buoyancySpring: 100
buoyancyDamping: 8
maxUpAcceleration: 0
extraLinearDampingInWater: 2
extraAngularDampingInWater: 2
driveCenterOfMassFromCapsule: 1
extraCenterOfMassOffset: {x: 0, y: -0.01, z: 0}
driveCenterOfMassFromCapsule: 0
extraCenterOfMassOffset: {x: 0, y: 0, z: 0}
rightingTorque: 1.5
rightingDamping: 0.5
buoyancyOffset: 0.02
--- !u!1 &203844586
GameObject:
m_ObjectHideFlags: 0
@@ -3419,7 +3420,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!1 &1065788238234039155
GameObject:
m_ObjectHideFlags: 0