This commit is contained in:
杨号敬 2024-12-18 03:03:46 +08:00
parent bcc74f0465
commit fb63f81118
11 changed files with 14877 additions and 745 deletions

View File

@ -132,6 +132,7 @@ GameObject:
m_Component:
- component: {fileID: 166844962}
- component: {fileID: 166844961}
- component: {fileID: 166844963}
m_Layer: 0
m_Name: Solver (1)
m_TagString: Untagged
@ -285,8 +286,23 @@ Transform:
m_Children:
- {fileID: 594372083}
m_Father: {fileID: 0}
m_RootOrder: 7
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &166844963
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 166844960}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0b94a15fe526a3343beea116b8b7515f, type: 3}
m_Name:
m_EditorClassIdentifier:
tar1: {fileID: 1662616632}
tar2: {fileID: 1225217992}
Obi: {fileID: 594372082}
--- !u!1 &326895829
GameObject:
m_ObjectHideFlags: 0
@ -376,6 +392,168 @@ PrefabInstance:
objectReference: {fileID: 2100000, guid: a0a5f9e13fa7c47f78547e54896609da, type: 2}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 64df75de10b494f109b074d28a8eade0, type: 3}
--- !u!1 &488907336
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 488907338}
- component: {fileID: 488907337}
m_Layer: 0
m_Name: BurstCollisionWorld
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &488907337
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 488907336}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f1a161c4294214a4fbcb7e9e94800494, type: 3}
m_Name:
m_EditorClassIdentifier:
cellSpans:
m_AlignBytes: 16
--- !u!4 &488907338
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 488907336}
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: 0}
m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &502388708
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 502388715}
- component: {fileID: 502388714}
- component: {fileID: 502388713}
- component: {fileID: 502388712}
- component: {fileID: 502388710}
m_Layer: 0
m_Name: Cube (3)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &502388710
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 502388708}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6757b231cedd544c583ef8aeaf773b2a, type: 3}
m_Name:
m_EditorClassIdentifier:
thickness: 0
inverted: 0
material: {fileID: 0}
filter: -65535
m_SourceCollider: {fileID: 502388712}
m_DistanceField: {fileID: 0}
--- !u!65 &502388712
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 502388708}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!23 &502388713
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 502388708}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &502388714
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 502388708}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &502388715
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 502388708}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.323, y: 1.14, z: -0.136}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &506459881 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 100000, guid: 64df75de10b494f109b074d28a8eade0, type: 3}
@ -560,7 +738,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Actor: {fileID: 594372088}
m_Target: {fileID: 1225217992}
m_Target: {fileID: 0}
m_ParticleGroup: {fileID: 5048701005528565804, guid: 74806658f50d141e88786022b12fc58b, type: 2}
m_AttachmentType: 0
m_ConstrainOrientation: 1
@ -579,7 +757,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Actor: {fileID: 594372088}
m_Target: {fileID: 1662616632}
m_Target: {fileID: 0}
m_ParticleGroup: {fileID: -3402949915523605302, guid: 74806658f50d141e88786022b12fc58b, type: 2}
m_AttachmentType: 0
m_ConstrainOrientation: 1
@ -640,212 +818,272 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
solverIndices:
serializedContents: 000000000100000002000000030000000400000005000000060000000700000008000000090000000a0000000b0000000c0000000d0000000e0000000f000000100000001100000012000000130000001400000015000000160000001700000018000000190000001a0000001b0000001c0000001d0000001e0000001f000000200000002100000022000000230000002400000025000000260000002700000028000000
serializedContents: 000000000100000002000000030000000400000005000000060000000700000008000000090000000a0000000b0000000c0000000d0000000e0000000f000000100000001100000012000000130000001400000015000000160000001700000018000000190000001a0000001b0000001c0000001d0000001e0000001f000000200000002100000022000000230000002400000025000000260000002700000028000000290000002a0000002b0000002c0000002d0000002e0000002f0000003000000031000000320000003300000034000000
m_AlignBytes: 16
groupID: 1
m_CollisionMaterial: {fileID: 0}
m_SurfaceCollisions: 0
m_SelfCollisions: 1
restLength_: 1.9999998
restLength_: 2
elements:
- particle1: 0
particle2: 1
restLength: 0.049322546
restLength: 0.049216032
constraintForce: 0
tearResistance: 0
- particle1: 1
particle2: 2
restLength: 0.050302863
restLength: 0.049227297
constraintForce: 0
tearResistance: 0
- particle1: 2
particle2: 3
restLength: 0.048888803
restLength: 0.049140215
constraintForce: 0
tearResistance: 0
- particle1: 3
particle2: 4
restLength: 0.050338387
restLength: 0.04926747
constraintForce: 0
tearResistance: 0
- particle1: 4
particle2: 5
restLength: 0.050490856
restLength: 0.049257934
constraintForce: 0
tearResistance: 0
- particle1: 5
particle2: 6
restLength: 0.0494833
restLength: 0.049227178
constraintForce: 0
tearResistance: 0
- particle1: 6
particle2: 7
restLength: 0.050834358
restLength: 0.04922396
constraintForce: 0
tearResistance: 0
- particle1: 7
particle2: 8
restLength: 0.049355686
restLength: 0.049252987
constraintForce: 0
tearResistance: 0
- particle1: 8
particle2: 9
restLength: 0.050579965
restLength: 0.04930383
constraintForce: 0
tearResistance: 0
- particle1: 9
particle2: 10
restLength: 0.049668133
restLength: 0.0340178
constraintForce: 0
tearResistance: 0
- particle1: 10
particle2: 11
restLength: 0.050201297
restLength: 0.03401929
constraintForce: 0
tearResistance: 0
- particle1: 11
particle2: 12
restLength: 0.050103366
restLength: 0.035728216
constraintForce: 0
tearResistance: 0
- particle1: 12
particle2: 13
restLength: 0.049883336
restLength: 0.035729438
constraintForce: 0
tearResistance: 0
- particle1: 13
particle2: 14
restLength: 0.050436974
restLength: 0.028159946
constraintForce: 0
tearResistance: 0
- particle1: 14
particle2: 15
restLength: 0.049704492
restLength: 0.028160632
constraintForce: 0
tearResistance: 0
- particle1: 15
particle2: 16
restLength: 0.050257146
restLength: 0.03487459
constraintForce: 0
tearResistance: 0
- particle1: 16
particle2: 17
restLength: 0.049968615
restLength: 0.034875274
constraintForce: 0
tearResistance: 0
- particle1: 17
particle2: 18
restLength: 0.050020218
restLength: 0.036350697
constraintForce: 0
tearResistance: 0
- particle1: 18
particle2: 19
restLength: 0.05014978
restLength: 0.03943044
constraintForce: 0
tearResistance: 0
- particle1: 19
particle2: 20
restLength: 0.050009843
restLength: 0.0024908036
constraintForce: 0
tearResistance: 0
- particle1: 20
particle2: 21
restLength: 0.05000964
restLength: 0.029137433
constraintForce: 0
tearResistance: 0
- particle1: 21
particle2: 22
restLength: 0.050149772
restLength: 0.029137626
constraintForce: 0
tearResistance: 0
- particle1: 22
particle2: 23
restLength: 0.05002047
restLength: 0.043250322
constraintForce: 0
tearResistance: 0
- particle1: 23
particle2: 24
restLength: 0.049968615
restLength: 0.04325016
constraintForce: 0
tearResistance: 0
- particle1: 24
particle2: 25
restLength: 0.050256997
restLength: 0.0432503
constraintForce: 0
tearResistance: 0
- particle1: 25
particle2: 26
restLength: 0.049704522
restLength: 0.0027674362
constraintForce: 0
tearResistance: 0
- particle1: 26
particle2: 27
restLength: 0.050436974
restLength: 0.040696338
constraintForce: 0
tearResistance: 0
- particle1: 27
particle2: 28
restLength: 0.049883336
restLength: 0.04069628
constraintForce: 0
tearResistance: 0
- particle1: 28
particle2: 29
restLength: 0.050103366
restLength: 0.04403571
constraintForce: 0
tearResistance: 0
- particle1: 29
particle2: 30
restLength: 0.050201327
restLength: 0.033812486
constraintForce: 0
tearResistance: 0
- particle1: 30
particle2: 31
restLength: 0.049668252
restLength: 0.03381245
constraintForce: 0
tearResistance: 0
- particle1: 31
particle2: 32
restLength: 0.050579846
restLength: 0.046316177
constraintForce: 0
tearResistance: 0
- particle1: 32
particle2: 33
restLength: 0.049355567
restLength: 0.046316534
constraintForce: 0
tearResistance: 0
- particle1: 33
particle2: 34
restLength: 0.050834477
restLength: 0.04631573
constraintForce: 0
tearResistance: 0
- particle1: 34
particle2: 35
restLength: 0.0494833
restLength: 0.040173024
constraintForce: 0
tearResistance: 0
- particle1: 35
particle2: 36
restLength: 0.050490975
restLength: 0.04017189
constraintForce: 0
tearResistance: 0
- particle1: 36
particle2: 37
restLength: 0.050338387
restLength: 0.043836623
constraintForce: 0
tearResistance: 0
- particle1: 37
particle2: 38
restLength: 0.048888862
restLength: 0.043834567
constraintForce: 0
tearResistance: 0
- particle1: 38
particle2: 39
restLength: 0.050302804
restLength: 0.04513505
constraintForce: 0
tearResistance: 0
- particle1: 39
particle2: 40
restLength: 0.049322546
restLength: 0.04513222
constraintForce: 0
tearResistance: 0
- particle1: 40
particle2: 41
restLength: 0.04675281
constraintForce: 0
tearResistance: 0
- particle1: 41
particle2: 42
restLength: 0.04674977
constraintForce: 0
tearResistance: 0
- particle1: 42
particle2: 43
restLength: 0.035889328
constraintForce: 0
tearResistance: 0
- particle1: 43
particle2: 44
restLength: 0.035886645
constraintForce: 0
tearResistance: 0
- particle1: 44
particle2: 45
restLength: 0.03575611
constraintForce: 0
tearResistance: 0
- particle1: 45
particle2: 46
restLength: 0.035753608
constraintForce: 0
tearResistance: 0
- particle1: 46
particle2: 47
restLength: 0.027446806
constraintForce: 0
tearResistance: 0
- particle1: 47
particle2: 48
restLength: 0.02744466
constraintForce: 0
tearResistance: 0
- particle1: 48
particle2: 49
restLength: 0.027808428
constraintForce: 0
tearResistance: 0
- particle1: 49
particle2: 50
restLength: 0.02780664
constraintForce: 0
tearResistance: 0
- particle1: 50
particle2: 51
restLength: 0.04234141
constraintForce: 0
tearResistance: 0
- particle1: 51
particle2: 52
restLength: 0.042331398
constraintForce: 0
tearResistance: 0
_aerodynamicsEnabled: 1
@ -871,7 +1109,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 594372082}
m_Enabled: 0
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c8b45ebbf86be4df6b0e6cd933812af2, type: 3}
m_Name:
@ -1595,58 +1833,12 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1225217988}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 1.5, y: 2.45, z: 0.38}
m_LocalPosition: {x: 1.429, y: 2.45, z: 0.231}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1624468059
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1624468061}
- component: {fileID: 1624468060}
m_Layer: 0
m_Name: BurstCollisionWorld
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1624468060
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1624468059}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f1a161c4294214a4fbcb7e9e94800494, type: 3}
m_Name:
m_EditorClassIdentifier:
cellSpans:
m_AlignBytes: 16
--- !u!4 &1624468061
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1624468059}
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: 0}
m_RootOrder: 6
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1662616628
GameObject:
@ -1743,7 +1935,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 8
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1718836709
GameObject:

File diff suppressed because one or more lines are too long

View File

@ -32,7 +32,7 @@ ModelImporter:
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
isReadable: 1
meshes:
lODScreenPercentages: []
globalScale: 1

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3e9b6c4ac1880bb439e8b82f09a5435d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -38,9 +38,8 @@ public class XFS : MonoBehaviour
public void connectFa()
{
BezierPipe bezier = ShuiguanGameObject.GetComponent<BezierPipe>();
bezier.point1 = XFsTransform;
bezier.point2 = gun.transform;
Solver solver = ShuiguanGameObject.GetComponent<Solver>();
solver.INit(gun.transform);
}
public void openFa()

View File

@ -0,0 +1,620 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &7616336031795302602
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7616336031795302600}
- component: {fileID: 7616336031795302603}
- component: {fileID: 7616336031795302601}
m_Layer: 0
m_Name: Solver (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7616336031795302600
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7616336031795302602}
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:
- {fileID: 7616336032509095705}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7616336031795302603
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7616336031795302602}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9d174fab52f0c4b8399f25d5c3ea524c, type: 3}
m_Name:
m_EditorClassIdentifier:
simulateWhenInvisible: 1
m_Backend: 1
substeps: 4
maxStepsPerFrame: 1
synchronization: 0
parameters:
mode: 0
interpolation: 1
gravity: {x: 0, y: -9.81, z: 0}
ambientWind: {x: 0, y: 0, z: 0}
foamGravityScale: 1
damping: 0
maxAnisotropy: 3
sleepThreshold: 0.001
maxVelocity: 50
maxAngularVelocity: 10
collisionMargin: 0.02
maxDepenetration: 5
colliderCCD: 1
particleCCD: 0
shockPropagation: 0
surfaceCollisionIterations: 8
surfaceCollisionTolerance: 0.005
m_MaxSurfaceChunks: 32768
maxQueryResults: 8192
maxFoamParticles: 8192
maxParticleNeighbors: 128
maxParticleContacts: 6
gravity: {x: 0, y: -9.81, z: 0}
gravitySpace: 1
ambientWind: {x: 0, y: 0, z: 0}
windSpace: 1
foamSubsteps: 1
maxFoamVelocityStretch: 0.3
foamFade: {x: 0.05, y: 0.8}
foamAccelAgingRange: {x: 0.5, y: 0.8}
foamAccelAging: 4
worldLinearInertiaScale: 0
worldAngularInertiaScale: 0
synchronousSpatialQueries: 0
distanceConstraintParameters:
evaluationOrder: 0
iterations: 3
SORFactor: 1
enabled: 0
bendingConstraintParameters:
evaluationOrder: 1
iterations: 3
SORFactor: 1
enabled: 0
particleCollisionConstraintParameters:
evaluationOrder: 0
iterations: 5
SORFactor: 1
enabled: 1
particleFrictionConstraintParameters:
evaluationOrder: 1
iterations: 3
SORFactor: 1
enabled: 1
collisionConstraintParameters:
evaluationOrder: 1
iterations: 3
SORFactor: 1
enabled: 1
frictionConstraintParameters:
evaluationOrder: 1
iterations: 3
SORFactor: 1
enabled: 1
skinConstraintParameters:
evaluationOrder: 0
iterations: 3
SORFactor: 1
enabled: 0
volumeConstraintParameters:
evaluationOrder: 1
iterations: 3
SORFactor: 1
enabled: 0
shapeMatchingConstraintParameters:
evaluationOrder: 1
iterations: 3
SORFactor: 1
enabled: 0
tetherConstraintParameters:
evaluationOrder: 1
iterations: 3
SORFactor: 1
enabled: 0
pinConstraintParameters:
evaluationOrder: 0
iterations: 10
SORFactor: 1
enabled: 0
stitchConstraintParameters:
evaluationOrder: 1
iterations: 2
SORFactor: 1
enabled: 0
densityConstraintParameters:
evaluationOrder: 1
iterations: 2
SORFactor: 1
enabled: 0
stretchShearConstraintParameters:
evaluationOrder: 1
iterations: 6
SORFactor: 1
enabled: 1
bendTwistConstraintParameters:
evaluationOrder: 1
iterations: 6
SORFactor: 1
enabled: 1
chainConstraintParameters:
evaluationOrder: 0
iterations: 3
SORFactor: 1
enabled: 1
--- !u!114 &7616336031795302601
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7616336031795302602}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0b94a15fe526a3343beea116b8b7515f, type: 3}
m_Name:
m_EditorClassIdentifier:
tar1: {fileID: 0}
tar2: {fileID: 0}
Obi: {fileID: 7616336032509095704}
--- !u!1 &7616336032509095704
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7616336032509095705}
- component: {fileID: 7616336032509095699}
- component: {fileID: 7616336032509095698}
- component: {fileID: 7616336032509095709}
- component: {fileID: 7616336032509095708}
- component: {fileID: 7616336032509095711}
- component: {fileID: 7616336032509095710}
m_Layer: 0
m_Name: Obi Rod
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7616336032509095705
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7616336032509095704}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0.039, y: 2.82, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7616336031795302600}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7616336032509095699
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7616336032509095704}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c8b45ebbf86be4df6b0e6cd933812af2, type: 3}
m_Name:
m_EditorClassIdentifier:
material: {fileID: 2100000, guid: fb88690dea2394644849cde5abd037f9, type: 2}
renderParameters:
layer: 0
lightProbeUsage: 1
reflectionProbeUsage: 1
shadowCastingMode: 1
receiveShadows: 1
motionVectors: 0
renderingLayerMask: 4294967295
<particleColor>k__BackingField: {r: 1, g: 1, b: 1, a: 1}
<radiusScale>k__BackingField: 1
--- !u!114 &7616336032509095698
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7616336032509095704}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8f2bc32c4faf04f039a86a6e3cea12a1, type: 3}
m_Name:
m_EditorClassIdentifier:
solverIndices:
serializedContents: 000000000100000002000000030000000400000005000000060000000700000008000000090000000a0000000b0000000c0000000d0000000e0000000f000000100000001100000012000000130000001400000015000000160000001700000018000000190000001a0000001b0000001c0000001d0000001e0000001f000000200000002100000022000000230000002400000025000000260000002700000028000000290000002a0000002b0000002c0000002d0000002e0000002f0000003000000031000000320000003300000034000000
m_AlignBytes: 16
groupID: 1
m_CollisionMaterial: {fileID: 0}
m_SurfaceCollisions: 0
m_SelfCollisions: 1
restLength_: 2
elements:
- particle1: 0
particle2: 1
restLength: 0.049216032
constraintForce: 0
tearResistance: 0
- particle1: 1
particle2: 2
restLength: 0.049227297
constraintForce: 0
tearResistance: 0
- particle1: 2
particle2: 3
restLength: 0.049140215
constraintForce: 0
tearResistance: 0
- particle1: 3
particle2: 4
restLength: 0.04926747
constraintForce: 0
tearResistance: 0
- particle1: 4
particle2: 5
restLength: 0.049257934
constraintForce: 0
tearResistance: 0
- particle1: 5
particle2: 6
restLength: 0.049227178
constraintForce: 0
tearResistance: 0
- particle1: 6
particle2: 7
restLength: 0.04922396
constraintForce: 0
tearResistance: 0
- particle1: 7
particle2: 8
restLength: 0.049252987
constraintForce: 0
tearResistance: 0
- particle1: 8
particle2: 9
restLength: 0.04930383
constraintForce: 0
tearResistance: 0
- particle1: 9
particle2: 10
restLength: 0.0340178
constraintForce: 0
tearResistance: 0
- particle1: 10
particle2: 11
restLength: 0.03401929
constraintForce: 0
tearResistance: 0
- particle1: 11
particle2: 12
restLength: 0.035728216
constraintForce: 0
tearResistance: 0
- particle1: 12
particle2: 13
restLength: 0.035729438
constraintForce: 0
tearResistance: 0
- particle1: 13
particle2: 14
restLength: 0.028159946
constraintForce: 0
tearResistance: 0
- particle1: 14
particle2: 15
restLength: 0.028160632
constraintForce: 0
tearResistance: 0
- particle1: 15
particle2: 16
restLength: 0.03487459
constraintForce: 0
tearResistance: 0
- particle1: 16
particle2: 17
restLength: 0.034875274
constraintForce: 0
tearResistance: 0
- particle1: 17
particle2: 18
restLength: 0.036350697
constraintForce: 0
tearResistance: 0
- particle1: 18
particle2: 19
restLength: 0.03943044
constraintForce: 0
tearResistance: 0
- particle1: 19
particle2: 20
restLength: 0.0024908036
constraintForce: 0
tearResistance: 0
- particle1: 20
particle2: 21
restLength: 0.029137433
constraintForce: 0
tearResistance: 0
- particle1: 21
particle2: 22
restLength: 0.029137626
constraintForce: 0
tearResistance: 0
- particle1: 22
particle2: 23
restLength: 0.043250322
constraintForce: 0
tearResistance: 0
- particle1: 23
particle2: 24
restLength: 0.04325016
constraintForce: 0
tearResistance: 0
- particle1: 24
particle2: 25
restLength: 0.0432503
constraintForce: 0
tearResistance: 0
- particle1: 25
particle2: 26
restLength: 0.0027674362
constraintForce: 0
tearResistance: 0
- particle1: 26
particle2: 27
restLength: 0.040696338
constraintForce: 0
tearResistance: 0
- particle1: 27
particle2: 28
restLength: 0.04069628
constraintForce: 0
tearResistance: 0
- particle1: 28
particle2: 29
restLength: 0.04403571
constraintForce: 0
tearResistance: 0
- particle1: 29
particle2: 30
restLength: 0.033812486
constraintForce: 0
tearResistance: 0
- particle1: 30
particle2: 31
restLength: 0.03381245
constraintForce: 0
tearResistance: 0
- particle1: 31
particle2: 32
restLength: 0.046316177
constraintForce: 0
tearResistance: 0
- particle1: 32
particle2: 33
restLength: 0.046316534
constraintForce: 0
tearResistance: 0
- particle1: 33
particle2: 34
restLength: 0.04631573
constraintForce: 0
tearResistance: 0
- particle1: 34
particle2: 35
restLength: 0.040173024
constraintForce: 0
tearResistance: 0
- particle1: 35
particle2: 36
restLength: 0.04017189
constraintForce: 0
tearResistance: 0
- particle1: 36
particle2: 37
restLength: 0.043836623
constraintForce: 0
tearResistance: 0
- particle1: 37
particle2: 38
restLength: 0.043834567
constraintForce: 0
tearResistance: 0
- particle1: 38
particle2: 39
restLength: 0.04513505
constraintForce: 0
tearResistance: 0
- particle1: 39
particle2: 40
restLength: 0.04513222
constraintForce: 0
tearResistance: 0
- particle1: 40
particle2: 41
restLength: 0.04675281
constraintForce: 0
tearResistance: 0
- particle1: 41
particle2: 42
restLength: 0.04674977
constraintForce: 0
tearResistance: 0
- particle1: 42
particle2: 43
restLength: 0.035889328
constraintForce: 0
tearResistance: 0
- particle1: 43
particle2: 44
restLength: 0.035886645
constraintForce: 0
tearResistance: 0
- particle1: 44
particle2: 45
restLength: 0.03575611
constraintForce: 0
tearResistance: 0
- particle1: 45
particle2: 46
restLength: 0.035753608
constraintForce: 0
tearResistance: 0
- particle1: 46
particle2: 47
restLength: 0.027446806
constraintForce: 0
tearResistance: 0
- particle1: 47
particle2: 48
restLength: 0.02744466
constraintForce: 0
tearResistance: 0
- particle1: 48
particle2: 49
restLength: 0.027808428
constraintForce: 0
tearResistance: 0
- particle1: 49
particle2: 50
restLength: 0.02780664
constraintForce: 0
tearResistance: 0
- particle1: 50
particle2: 51
restLength: 0.04234141
constraintForce: 0
tearResistance: 0
- particle1: 51
particle2: 52
restLength: 0.042331398
constraintForce: 0
tearResistance: 0
_aerodynamicsEnabled: 1
_drag: 0.05
_lift: 0.02
m_RodBlueprint: {fileID: 11400000, guid: 74806658f50d141e88786022b12fc58b, type: 2}
_stretchShearConstraintsEnabled: 1
_stretchCompliance: 0
_shear1Compliance: 0
_shear2Compliance: 0
_bendTwistConstraintsEnabled: 1
_torsionCompliance: 0
_bend1Compliance: 0
_bend2Compliance: 0
_plasticYield: 0
_plasticCreep: 0
_chainConstraintsEnabled: 1
_tightness: 1
--- !u!114 &7616336032509095709
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7616336032509095704}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 958c969cfb16745f192d4d7bd28b7178, type: 3}
m_Name:
m_EditorClassIdentifier:
decimation: 0
smoothing: 0
twist: 0
indexInSystem: 0
--- !u!114 &7616336032509095708
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7616336032509095704}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c4747da60837c44f9ba4b4a86879bcc8, type: 3}
m_Name:
m_EditorClassIdentifier:
material: {fileID: 2100000, guid: 9bc0d93bc33e445c7a765578064cdd1e, type: 2}
renderParameters:
layer: 0
lightProbeUsage: 1
reflectionProbeUsage: 1
shadowCastingMode: 1
receiveShadows: 1
motionVectors: 0
renderingLayerMask: 4294967295
uvAnchor: 0
uvScale: {x: 1, y: 6}
normalizeV: 1
section: {fileID: 11400000, guid: a0bc36a59515f413e90e10895929c938, type: 2}
thicknessScale: 0.8
--- !u!114 &7616336032509095711
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7616336032509095704}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4d03c9194b7ab4aaba4dfa5afec22c69, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Actor: {fileID: 7616336032509095698}
m_Target: {fileID: 0}
m_ParticleGroup: {fileID: -3402949915523605302, guid: 74806658f50d141e88786022b12fc58b, type: 2}
m_AttachmentType: 0
m_ConstrainOrientation: 1
m_Compliance: 0
m_BreakThreshold: Infinity
--- !u!114 &7616336032509095710
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7616336032509095704}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4d03c9194b7ab4aaba4dfa5afec22c69, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Actor: {fileID: 7616336032509095698}
m_Target: {fileID: 0}
m_ParticleGroup: {fileID: 5048701005528565804, guid: 74806658f50d141e88786022b12fc58b, type: 2}
m_AttachmentType: 0
m_ConstrainOrientation: 1
m_Compliance: 0
m_BreakThreshold: Infinity

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a4887a5f6c0020d48804961f3d0ed4c6
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,32 @@
using System.Collections;
using System.Collections.Generic;
using System.Net.Mail;
using Obi;
using UnityEngine;
public class Solver : MonoBehaviour
{
// Start is called before the first frame update
public Transform tar;
public Transform tar2;
public GameObject Obi;
private ObiParticleAttachment[] attachment;
void Start()
{
attachment = Obi.GetComponents<ObiParticleAttachment>();
attachment[0].target = tar;
attachment[1].target = tar2;
}
public void INit(Transform tar)
{
tar2.SetParent(tar);
tar2.transform.localPosition = new Vector3(0, 0, 0);
}
// Update is called once per frame
void Update()
{
}
}

View File

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