目录调整
This commit is contained in:
3
Assets/AdvancedRope/Scripts/Renderer.meta
Normal file
3
Assets/AdvancedRope/Scripts/Renderer.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8ed7dcfb9cba4e78b35f327de510ee58
|
||||
timeCreated: 1776516338
|
||||
@@ -91,24 +91,20 @@ namespace AdvancedRope
|
||||
|
||||
#region --- 配置 ---
|
||||
|
||||
//[Header("通用设置")]
|
||||
public bool initializeOnStart = false;
|
||||
[Header("通用设置")] public bool initializeOnStart = false;
|
||||
public bool enabled = true;
|
||||
[Tooltip("绳索起点")] public Vector3 ropeStartPoint;
|
||||
[Tooltip("绳索终点(可选,若为空则绳索自由下垂)")] public Vector3 ropeEndPoint;
|
||||
|
||||
//[Header("分辨率与尺寸")]
|
||||
[Range(0.01f, 1f)] [Tooltip("0.1 = 稀疏,1.0 = 按半径可达到的最大密度")]
|
||||
[Header("分辨率与尺寸")] [Range(0.01f, 1f)] [Tooltip("0.1 = 稀疏,1.0 = 按半径可达到的最大密度")]
|
||||
public float ropeResolution = 0.5f;
|
||||
|
||||
[Tooltip("物理检测半径(碰撞、地形、自碰撞、射线检测使用)")]
|
||||
[FormerlySerializedAs("ropeRadius")]
|
||||
[Tooltip("物理检测半径(碰撞、地形、自碰撞、射线检测使用)")] [FormerlySerializedAs("ropeRadius")]
|
||||
public float ropePhysicsRadius = 0.1f;
|
||||
[Tooltip("渲染表现半径(可小于物理检测半径)")]
|
||||
public float ropeRenderRadius = 0.1f;
|
||||
|
||||
//[Header("物理参数")]
|
||||
public Vector3 gravity = new Vector3(0, -9.81f, 0);
|
||||
[Tooltip("渲染表现半径(可小于物理检测半径)")] public float ropeRenderRadius = 0.1f;
|
||||
|
||||
[Header("物理参数")] public Vector3 gravity = new Vector3(0, -9.81f, 0);
|
||||
[Range(0f, 1f)] public float airFriction = 0.1f;
|
||||
[Range(0f, 1f)] public float stiffness = 1.0f;
|
||||
[Tooltip("约束求解迭代次数。值越高越硬,但开销更大")] public int constraintIterations = 8;
|
||||
@@ -116,18 +112,15 @@ namespace AdvancedRope
|
||||
[Range(0f, 1f)] public float contactFriction = 0.5f;
|
||||
|
||||
|
||||
//[Header("耦合设置")]
|
||||
public Rigidbody connectedBodyStart;
|
||||
[Header("耦合设置")] public Rigidbody connectedBodyStart;
|
||||
public Rigidbody connectedBodyEnd;
|
||||
public float rigidbodyInteractionForce = 10f;
|
||||
|
||||
//[Header("碰撞设置")]
|
||||
public bool enableCollisions = true;
|
||||
[Header("碰撞设置")] public bool enableCollisions = true;
|
||||
public LayerMask collisionLayer;
|
||||
public bool enableSelfCollision = false;
|
||||
|
||||
//[Header("初始设置")]
|
||||
public List<PinConfiguration> initialPinPoints;
|
||||
[Header("初始设置")] public List<PinConfiguration> initialPinPoints;
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -1114,4 +1107,4 @@ namespace AdvancedRope
|
||||
public float Distance;
|
||||
public float SegmentRatio;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -24,20 +24,20 @@ EditorUserSettings:
|
||||
value: 0206055103530a0908560e21497b0d4410161c2b2a712468757e4461b3e3306a
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-4:
|
||||
value: 00040c5204025e5d0f59547242710744454e4d7f28717363757c1f63e7b0633c
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-5:
|
||||
value: 055550005c055e0e58085a2741720f4415154a7f7b2c22652e794461b7e5376a
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-6:
|
||||
value: 0153525507535a0d5b585a7014765a4410151a7d7c2e72697e2b1f31b3b2326f
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-7:
|
||||
RecentlyUsedSceneGuid-5:
|
||||
value: 5100040304005e5a5b0d5875482659441715412b757b74342b781b6ab7e1653b
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-8:
|
||||
RecentlyUsedSceneGuid-6:
|
||||
value: 5005025453535f0f595d597b12225d44174f1a73757f22357f711c30b4e4666a
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-7:
|
||||
value: 055550005c055e0e58085a2741720f4415154a7f7b2c22652e794461b7e5376a
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-8:
|
||||
value: 00040c5204025e5d0f59547242710744454e4d7f28717363757c1f63e7b0633c
|
||||
flags: 0
|
||||
vcSharedLogLevel:
|
||||
value: 0d5e400f0650
|
||||
flags: 0
|
||||
|
||||
Reference in New Issue
Block a user