This commit is contained in:
2025-12-27 19:30:17 +08:00
parent 028d054705
commit 040a222bd6
58 changed files with 11043 additions and 3352 deletions

View File

@@ -24,57 +24,5 @@ namespace NBF
/// 水线
/// </summary>
public Transform waterline;
// "previewRotationEnabled": 0,
// "previewRotation": {
// "x": 0.0,
// "y": 0.0,
// "z": 0.0
// },
//
// "idleAnimation": {
// "m_FileID": 0,
// "m_PathID": 2768973905596830902
// },
// "swimAnimation": {
// "m_FileID": 0,
// "m_PathID": 7205922588037503814
// },
// "accelerateAnimation": {
// "m_FileID": 0,
// "m_PathID": 5473833867069321029
// },
// "turnLeftAnimation": {
// "m_FileID": 0,
// "m_PathID": 0
// },
// "turnRightAnimation": {
// "m_FileID": 0,
// "m_PathID": 0
// },
// "shake1Animation": {
// "m_FileID": 0,
// "m_PathID": 748440419864685152
// },
// "shake2Animation": {
// "m_FileID": 0,
// "m_PathID": 748440419864685152
// },
// "shake3Animation": {
// "m_FileID": 0,
// "m_PathID": 748440419864685152
// },
// "StuffedAnimation": {
// "m_FileID": 0,
// "m_PathID": 0
// },
// "useRendererBounds": 0,
// "overrideLengthAxis": 0,
// "lengthAxis": 0,
// "applyLengthFactor": 0,
// "lengthFactor": 0.0,
// "useStuffedAnim": 0,
// "stuffedFrameTime": 0.0
}
}

View File

@@ -54,6 +54,8 @@ namespace NBF
public CCDIK CCDIK;
public Rigidbody LineConnectorRigidbody;
private void Awake()
{
CCDIK = GetComponent<CCDIK>();
@@ -61,6 +63,9 @@ namespace NBF
if (!lineConnector && joints.Length > 0)
{
lineConnector = joints[^1];
// LineConnectorRigidbody = lineConnector.gameObject.AddComponent<Rigidbody>();
// LineConnectorRigidbody.isKinematic = true;
// LineConnectorRigidbody.useGravity = false;
}
}