去掉obi,使用自写绳索

This commit is contained in:
2026-02-23 20:51:03 +08:00
parent cb636f862d
commit 91e2309eeb
2011 changed files with 2593 additions and 190578 deletions

View File

@@ -1,28 +0,0 @@
using UnityEngine;
using System.Collections;
using System;
namespace Obi
{
public interface IAerodynamicConstraintsUser
{
bool aerodynamicsEnabled
{
get;
set;
}
float GetDrag(ObiAerodynamicConstraintsBatch batch, int constraintIndex);
float GetLift(ObiAerodynamicConstraintsBatch batch, int constraintIndex);
}
[Serializable]
public class ObiAerodynamicConstraintsData : ObiConstraints<ObiAerodynamicConstraintsBatch>
{
public override ObiAerodynamicConstraintsBatch CreateBatch(ObiAerodynamicConstraintsBatch source = null)
{
return new ObiAerodynamicConstraintsBatch();
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: f82b39fc2deaa46d9bbec616c2e7aaf5
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,49 +0,0 @@
using UnityEngine;
using System.Collections;
using System;
namespace Obi
{
public interface IBendConstraintsUser
{
bool bendConstraintsEnabled
{
get;
set;
}
float bendCompliance
{
get;
set;
}
float maxBending
{
get;
set;
}
float plasticYield
{
get;
set;
}
float plasticCreep
{
get;
set;
}
}
[Serializable]
public class ObiBendConstraintsData : ObiConstraints<ObiBendConstraintsBatch>
{
public override ObiBendConstraintsBatch CreateBatch(ObiBendConstraintsBatch source = null)
{
return new ObiBendConstraintsBatch();
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: b1c1bcd52cdf746fc8f62059ba5bb9e9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,28 +0,0 @@
using UnityEngine;
using System;
namespace Obi
{
public interface IBendTwistConstraintsUser
{
bool bendTwistConstraintsEnabled
{
get;
set;
}
Vector3 GetBendTwistCompliance(ObiBendTwistConstraintsBatch batch, int constraintIndex);
Vector2 GetBendTwistPlasticity(ObiBendTwistConstraintsBatch batch, int constraintIndex);
}
[Serializable]
public class ObiBendTwistConstraintsData : ObiConstraints<ObiBendTwistConstraintsBatch>
{
public override ObiBendTwistConstraintsBatch CreateBatch(ObiBendTwistConstraintsBatch source = null)
{
return new ObiBendTwistConstraintsBatch();
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: e2e8e3c3251694dcfbb9aabbd5ed1a4a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,32 +0,0 @@
using UnityEngine;
using System.Collections;
using System;
namespace Obi
{
public interface IChainConstraintsUser
{
bool chainConstraintsEnabled
{
get;
set;
}
float tightness
{
get;
set;
}
}
[Serializable]
public class ObiChainConstraintsData : ObiConstraints<ObiChainConstraintsBatch>
{
public override ObiChainConstraintsBatch CreateBatch(ObiChainConstraintsBatch source = null)
{
return new ObiChainConstraintsBatch();
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 33365683dad7c4ad395bce89c5381081
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,43 +0,0 @@
using UnityEngine;
using System.Collections;
using System;
namespace Obi
{
public interface IDistanceConstraintsUser
{
bool distanceConstraintsEnabled
{
get;
set;
}
float stretchingScale
{
get;
set;
}
float stretchCompliance
{
get;
set;
}
float maxCompression
{
get;
set;
}
}
[Serializable]
public class ObiDistanceConstraintsData : ObiConstraints<ObiDistanceConstraintsBatch>
{
public override ObiDistanceConstraintsBatch CreateBatch(ObiDistanceConstraintsBatch source = null)
{
return new ObiDistanceConstraintsBatch();
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 782174d96bf484b98b0dbb103eeb2d1c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,16 +0,0 @@
using UnityEngine;
using System.Collections;
using System;
namespace Obi
{
[Serializable]
public class ObiPinConstraintsData : ObiConstraints<ObiPinConstraintsBatch>
{
public override ObiPinConstraintsBatch CreateBatch(ObiPinConstraintsBatch source = null)
{
return new ObiPinConstraintsBatch();
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: b7a2147b44dc24d59a5b57314325ae6c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,16 +0,0 @@
using UnityEngine;
using System.Collections;
using System;
namespace Obi
{
[Serializable]
public class ObiPinholeConstraintsData : ObiConstraints<ObiPinholeConstraintsBatch>
{
public override ObiPinholeConstraintsBatch CreateBatch(ObiPinholeConstraintsBatch source = null)
{
return new ObiPinholeConstraintsBatch();
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: caeaf013c17424e0884d22017414ee1c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,55 +0,0 @@
using UnityEngine;
using System.Collections;
using System;
namespace Obi
{
public interface IShapeMatchingConstraintsUser
{
bool shapeMatchingConstraintsEnabled
{
get;
set;
}
float deformationResistance
{
get;
set;
}
float maxDeformation
{
get;
set;
}
float plasticYield
{
get;
set;
}
float plasticCreep
{
get;
set;
}
float plasticRecovery
{
get;
set;
}
}
[Serializable]
public class ObiShapeMatchingConstraintsData : ObiConstraints<ObiShapeMatchingConstraintsBatch>
{
public override ObiShapeMatchingConstraintsBatch CreateBatch(ObiShapeMatchingConstraintsBatch source = null)
{
return new ObiShapeMatchingConstraintsBatch();
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 0d275158a9006411cb1a69f84653efcb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,26 +0,0 @@
using UnityEngine;
using System;
namespace Obi
{
public interface ISkinConstraintsUser
{
bool skinConstraintsEnabled
{
get;
set;
}
Vector3 GetSkinRadiiBackstop(ObiSkinConstraintsBatch batch, int constraintIndex);
float GetSkinCompliance(ObiSkinConstraintsBatch batch, int constraintIndex);
}
[Serializable]
public class ObiSkinConstraintsData : ObiConstraints<ObiSkinConstraintsBatch>
{
public override ObiSkinConstraintsBatch CreateBatch(ObiSkinConstraintsBatch source = null)
{
return new ObiSkinConstraintsBatch();
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 0bb567aa0489c4b38bf7e6f9b43d953f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,28 +0,0 @@
using UnityEngine;
using System.Collections;
using System;
namespace Obi
{
public interface IStretchShearConstraintsUser
{
bool stretchShearConstraintsEnabled
{
get;
set;
}
Vector3 GetStretchShearCompliance(ObiStretchShearConstraintsBatch batch, int constraintIndex);
}
[Serializable]
public class ObiStretchShearConstraintsData : ObiConstraints<ObiStretchShearConstraintsBatch>
{
public override ObiStretchShearConstraintsBatch CreateBatch(ObiStretchShearConstraintsBatch source = null)
{
return new ObiStretchShearConstraintsBatch();
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: f8ae3ab8eafd74991858032375e5444f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,38 +0,0 @@
using UnityEngine;
using System.Collections;
using System;
namespace Obi
{
public interface ITetherConstraintsUser
{
bool tetherConstraintsEnabled
{
get;
set;
}
float tetherCompliance
{
get;
set;
}
float tetherScale
{
get;
set;
}
}
[Serializable]
public class ObiTetherConstraintsData : ObiConstraints<ObiTetherConstraintsBatch>
{
public override ObiTetherConstraintsBatch CreateBatch(ObiTetherConstraintsBatch source = null)
{
return new ObiTetherConstraintsBatch();
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 10997226d34c34554a17c69f27627e5d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,37 +0,0 @@
using UnityEngine;
using System.Collections;
using System;
namespace Obi
{
public interface IVolumeConstraintsUser
{
bool volumeConstraintsEnabled
{
get;
set;
}
float compressionCompliance
{
get;
set;
}
float pressure
{
get;
set;
}
}
[Serializable]
public class ObiVolumeConstraintsData : ObiConstraints<ObiVolumeConstraintsBatch>
{
public override ObiVolumeConstraintsBatch CreateBatch(ObiVolumeConstraintsBatch source = null)
{
return new ObiVolumeConstraintsBatch();
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 55945e863f03047c18b48088708c2935
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: