diff options
Diffstat (limited to 'ActiveRagdoll/Assets/TABG')
6 files changed, 364 insertions, 62 deletions
diff --git a/ActiveRagdoll/Assets/TABG/Prefabs/human_rigging.prefab b/ActiveRagdoll/Assets/TABG/Prefabs/human_rigging.prefab index c315257..3922b09 100644 --- a/ActiveRagdoll/Assets/TABG/Prefabs/human_rigging.prefab +++ b/ActiveRagdoll/Assets/TABG/Prefabs/human_rigging.prefab @@ -1,5 +1,199 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!1 &984858210 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 984858211} + - component: {fileID: 984858214} + - component: {fileID: 984858213} + - component: {fileID: 984858212} + m_Layer: 0 + m_Name: PlayerCollider + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &984858211 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 984858210} + m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068} + m_LocalPosition: {x: 0, y: 0.0419, z: 0} + m_LocalScale: {x: 0.15, y: 0.1826, z: 0.15} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2610225499071172934} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!23 &984858214 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 984858210} + 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: 2100000, guid: 9d4f4085b5ce801428050308889507e8, type: 2} + 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 &984858213 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 984858210} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!135 &984858212 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 984858210} + m_Material: {fileID: 13400000, guid: d0312db448abda64689a354dae4b601a, type: 2} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Radius: 0.4 + m_Center: {x: 0, y: 0, z: -0.00000013411045} +--- !u!1 &2047997612 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2047997613} + - component: {fileID: 2047997616} + - component: {fileID: 2047997615} + - component: {fileID: 2047997614} + m_Layer: 0 + m_Name: PlayerCollider + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2047997613 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2047997612} + m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 0, y: 0.04189998, z: 0} + m_LocalScale: {x: 0.15, y: 0.18259999, z: 0.15} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6228351505900064062} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!23 &2047997616 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2047997612} + 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: 2100000, guid: 9d4f4085b5ce801428050308889507e8, type: 2} + 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 &2047997615 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2047997612} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!135 &2047997614 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2047997612} + m_Material: {fileID: 13400000, guid: d0312db448abda64689a354dae4b601a, type: 2} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Radius: 0.4 + m_Center: {x: 0, y: 0, z: -0.00000013411045} --- !u!1 &352791520568127773 GameObject: m_ObjectHideFlags: 0 @@ -29,7 +223,8 @@ Transform: m_LocalPosition: {x: -0.0681456, y: -0.9878551, z: -0.040292345} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: [] + m_Children: + - {fileID: 984858211} m_Father: {fileID: 861688529590854405} m_RootOrder: 6 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -250,7 +445,8 @@ Transform: m_LocalPosition: {x: 0.0681456, y: -0.9878551, z: -0.040292345} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: [] + m_Children: + - {fileID: 2047997613} m_Father: {fileID: 861688529590854405} m_RootOrder: 8 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -422,20 +618,20 @@ ConfigurableJoint: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1198478719857577481} - m_ConnectedBody: {fileID: 0} + m_ConnectedBody: {fileID: 1239621544883570514} m_ConnectedArticulationBody: {fileID: 0} - m_Anchor: {x: 0, y: 0, z: 0} - m_Axis: {x: 1, y: 0, z: 0} + m_Anchor: {x: 0, y: 0, z: -0.22} + m_Axis: {x: 0, y: 1, z: 0} m_AutoConfigureConnectedAnchor: 1 m_ConnectedAnchor: {x: 0, y: 0, z: 0} serializedVersion: 2 m_SecondaryAxis: {x: 0, y: 1, z: 0} - m_XMotion: 2 - m_YMotion: 2 - m_ZMotion: 2 - m_AngularXMotion: 2 - m_AngularYMotion: 2 - m_AngularZMotion: 2 + m_XMotion: 0 + m_YMotion: 0 + m_ZMotion: 0 + m_AngularXMotion: 1 + m_AngularYMotion: 1 + m_AngularZMotion: 1 m_LinearLimitSpring: spring: 0 damper: 0 @@ -444,10 +640,10 @@ ConfigurableJoint: bounciness: 0 contactDistance: 0 m_AngularXLimitSpring: - spring: 0 + spring: 500 damper: 0 m_LowAngularXLimit: - limit: 0 + limit: -177 bounciness: 0 contactDistance: 0 m_HighAngularXLimit: @@ -462,7 +658,7 @@ ConfigurableJoint: bounciness: 0 contactDistance: 0 m_AngularZLimit: - limit: 0 + limit: 11.56 bounciness: 0 contactDistance: 0 m_TargetPosition: {x: 0, y: 0, z: 0} @@ -500,7 +696,7 @@ ConfigurableJoint: positionSpring: 0 positionDamper: 0 maximumForce: 3.4028233e+38 - m_ProjectionMode: 0 + m_ProjectionMode: 1 m_ProjectionDistance: 0.1 m_ProjectionAngle: 180 m_ConfiguredInWorldSpace: 0 @@ -508,7 +704,7 @@ ConfigurableJoint: m_BreakForce: Infinity m_BreakTorque: Infinity m_EnableCollision: 0 - m_EnablePreprocessing: 1 + m_EnablePreprocessing: 0 m_MassScale: 1 m_ConnectedMassScale: 1 --- !u!1 &1254990767818926415 @@ -521,6 +717,7 @@ GameObject: m_Component: - component: {fileID: 861688529590854405} - component: {fileID: 6902122112011267104} + - component: {fileID: 8879528567158505374} m_Layer: 0 m_Name: Rigidbody m_TagString: Untagged @@ -569,6 +766,19 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: size: 0.1 +--- !u!114 &8879528567158505374 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1254990767818926415} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 93ab2bd59aec043479576f7402aba9f0, type: 3} + m_Name: + m_EditorClassIdentifier: + allRigs: [] --- !u!1 &1515111015024255430 GameObject: m_ObjectHideFlags: 0 @@ -769,6 +979,7 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 1666344766112317020} + - component: {fileID: 7828630652246571135} m_Layer: 0 m_Name: human_rigging m_TagString: Untagged @@ -794,6 +1005,22 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &7828630652246571135 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2047971321291531494} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5b4ad5d4d6e961844a49b7145c877793, type: 3} + m_Name: + m_EditorClassIdentifier: + rigsToLift: + - {fileID: 5028902801156152278} + - {fileID: 7724590171357447542} + force: 30 --- !u!1 &2132482246703060397 GameObject: m_ObjectHideFlags: 0 @@ -999,20 +1226,20 @@ ConfigurableJoint: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2411311702239281492} - m_ConnectedBody: {fileID: 0} + m_ConnectedBody: {fileID: 3691458469473146159} m_ConnectedArticulationBody: {fileID: 0} - m_Anchor: {x: 0, y: 0, z: 0} - m_Axis: {x: 1, y: 0, z: 0} + m_Anchor: {x: 0, y: 0, z: -0.22} + m_Axis: {x: 0, y: 1, z: 0} m_AutoConfigureConnectedAnchor: 1 m_ConnectedAnchor: {x: 0, y: 0, z: 0} serializedVersion: 2 m_SecondaryAxis: {x: 0, y: 1, z: 0} - m_XMotion: 2 - m_YMotion: 2 - m_ZMotion: 2 - m_AngularXMotion: 2 - m_AngularYMotion: 2 - m_AngularZMotion: 2 + m_XMotion: 0 + m_YMotion: 0 + m_ZMotion: 0 + m_AngularXMotion: 1 + m_AngularYMotion: 1 + m_AngularZMotion: 1 m_LinearLimitSpring: spring: 0 damper: 0 @@ -1021,14 +1248,14 @@ ConfigurableJoint: bounciness: 0 contactDistance: 0 m_AngularXLimitSpring: - spring: 0 + spring: 500 damper: 0 m_LowAngularXLimit: limit: 0 bounciness: 0 contactDistance: 0 m_HighAngularXLimit: - limit: 0 + limit: 177 bounciness: 0 contactDistance: 0 m_AngularYZLimitSpring: @@ -1039,7 +1266,7 @@ ConfigurableJoint: bounciness: 0 contactDistance: 0 m_AngularZLimit: - limit: 0 + limit: 11.56 bounciness: 0 contactDistance: 0 m_TargetPosition: {x: 0, y: 0, z: 0} @@ -1077,7 +1304,7 @@ ConfigurableJoint: positionSpring: 0 positionDamper: 0 maximumForce: 3.4028233e+38 - m_ProjectionMode: 0 + m_ProjectionMode: 1 m_ProjectionDistance: 0.1 m_ProjectionAngle: 180 m_ConfiguredInWorldSpace: 0 @@ -1085,7 +1312,7 @@ ConfigurableJoint: m_BreakForce: Infinity m_BreakTorque: Infinity m_EnableCollision: 0 - m_EnablePreprocessing: 1 + m_EnablePreprocessing: 0 m_MassScale: 1 m_ConnectedMassScale: 1 --- !u!1 &2474110595537587005 @@ -1784,20 +2011,20 @@ ConfigurableJoint: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 5658401667225277159} - m_ConnectedBody: {fileID: 0} + m_ConnectedBody: {fileID: 7724590171357447542} m_ConnectedArticulationBody: {fileID: 0} - m_Anchor: {x: 0, y: 0, z: 0} - m_Axis: {x: 1, y: 0, z: 0} + m_Anchor: {x: 0, y: 0, z: -0.1} + m_Axis: {x: 0, y: -1, z: 0} m_AutoConfigureConnectedAnchor: 1 - m_ConnectedAnchor: {x: 0, y: 0, z: 0} + m_ConnectedAnchor: {x: 0.116635986, y: 0, z: -0.017830601} serializedVersion: 2 m_SecondaryAxis: {x: 0, y: 1, z: 0} - m_XMotion: 2 - m_YMotion: 2 - m_ZMotion: 2 - m_AngularXMotion: 2 - m_AngularYMotion: 2 - m_AngularZMotion: 2 + m_XMotion: 0 + m_YMotion: 0 + m_ZMotion: 0 + m_AngularXMotion: 1 + m_AngularYMotion: 1 + m_AngularZMotion: 1 m_LinearLimitSpring: spring: 0 damper: 0 @@ -1809,22 +2036,22 @@ ConfigurableJoint: spring: 0 damper: 0 m_LowAngularXLimit: - limit: 0 + limit: -70 bounciness: 0 contactDistance: 0 m_HighAngularXLimit: - limit: 0 + limit: 35 bounciness: 0 contactDistance: 0 m_AngularYZLimitSpring: spring: 0 damper: 0 m_AngularYLimit: - limit: 0 + limit: 65 bounciness: 0 contactDistance: 0 m_AngularZLimit: - limit: 0 + limit: 25 bounciness: 0 contactDistance: 0 m_TargetPosition: {x: 0, y: 0, z: 0} @@ -1862,7 +2089,7 @@ ConfigurableJoint: positionSpring: 0 positionDamper: 0 maximumForce: 3.4028233e+38 - m_ProjectionMode: 0 + m_ProjectionMode: 1 m_ProjectionDistance: 0.1 m_ProjectionAngle: 180 m_ConfiguredInWorldSpace: 0 @@ -1870,7 +2097,7 @@ ConfigurableJoint: m_BreakForce: Infinity m_BreakTorque: Infinity m_EnableCollision: 0 - m_EnablePreprocessing: 1 + m_EnablePreprocessing: 0 m_MassScale: 1 m_ConnectedMassScale: 1 --- !u!1 &5992969589425681271 @@ -2250,20 +2477,20 @@ ConfigurableJoint: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7307037826757058977} - m_ConnectedBody: {fileID: 0} + m_ConnectedBody: {fileID: 7724590171357447542} m_ConnectedArticulationBody: {fileID: 0} - m_Anchor: {x: 0, y: 0, z: 0} - m_Axis: {x: 1, y: 0, z: 0} + m_Anchor: {x: 0, y: 0, z: -0.1} + m_Axis: {x: 0, y: 1, z: 0} m_AutoConfigureConnectedAnchor: 1 - m_ConnectedAnchor: {x: 0, y: 0, z: 0} + m_ConnectedAnchor: {x: -0.116635986, y: 0, z: 0} serializedVersion: 2 m_SecondaryAxis: {x: 0, y: 1, z: 0} - m_XMotion: 2 - m_YMotion: 2 - m_ZMotion: 2 - m_AngularXMotion: 2 - m_AngularYMotion: 2 - m_AngularZMotion: 2 + m_XMotion: 0 + m_YMotion: 0 + m_ZMotion: 0 + m_AngularXMotion: 1 + m_AngularYMotion: 1 + m_AngularZMotion: 1 m_LinearLimitSpring: spring: 0 damper: 0 @@ -2275,22 +2502,22 @@ ConfigurableJoint: spring: 0 damper: 0 m_LowAngularXLimit: - limit: 0 + limit: -70 bounciness: 0 contactDistance: 0 m_HighAngularXLimit: - limit: 0 + limit: 35 bounciness: 0 contactDistance: 0 m_AngularYZLimitSpring: spring: 0 damper: 0 m_AngularYLimit: - limit: 0 + limit: 65 bounciness: 0 contactDistance: 0 m_AngularZLimit: - limit: 0 + limit: 25 bounciness: 0 contactDistance: 0 m_TargetPosition: {x: 0, y: 0, z: 0} @@ -2328,7 +2555,7 @@ ConfigurableJoint: positionSpring: 0 positionDamper: 0 maximumForce: 3.4028233e+38 - m_ProjectionMode: 0 + m_ProjectionMode: 1 m_ProjectionDistance: 0.1 m_ProjectionAngle: 180 m_ConfiguredInWorldSpace: 0 @@ -2336,7 +2563,7 @@ ConfigurableJoint: m_BreakForce: Infinity m_BreakTorque: Infinity m_EnableCollision: 0 - m_EnablePreprocessing: 1 + m_EnablePreprocessing: 0 m_MassScale: 1 m_ConnectedMassScale: 1 --- !u!1 &7540932285142806653 diff --git a/ActiveRagdoll/Assets/TABG/Scripts/Actions.meta b/ActiveRagdoll/Assets/TABG/Scripts/Actions.meta new file mode 100644 index 0000000..3a85b48 --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Scripts/Actions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a36e934f36ddd834fbb28e30188ce310 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ActiveRagdoll/Assets/TABG/Scripts/Actions/Standing.cs b/ActiveRagdoll/Assets/TABG/Scripts/Actions/Standing.cs new file mode 100644 index 0000000..6c1b070 --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Scripts/Actions/Standing.cs @@ -0,0 +1,20 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class Standing : MonoBehaviour +{ + + public Rigidbody[] rigsToLift; //Head, Torso + + public float force; + + private void FixedUpdate() + { + foreach(var rig in rigsToLift) + { + rig.AddForce(Vector3.up * force, ForceMode.Acceleration); + } + } + +} diff --git a/ActiveRagdoll/Assets/TABG/Scripts/Actions/Standing.cs.meta b/ActiveRagdoll/Assets/TABG/Scripts/Actions/Standing.cs.meta new file mode 100644 index 0000000..53a760d --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Scripts/Actions/Standing.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5b4ad5d4d6e961844a49b7145c877793 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ActiveRagdoll/Assets/TABG/Scripts/RigidbodyHolder.cs b/ActiveRagdoll/Assets/TABG/Scripts/RigidbodyHolder.cs new file mode 100644 index 0000000..d003697 --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Scripts/RigidbodyHolder.cs @@ -0,0 +1,25 @@ +using System.Collections.Generic; +using UnityEngine; + +// ±£´æËùÓÐ14¸ö¹Ç÷À +public class RigidbodyHolder : MonoBehaviour +{ + public Rigidbody[] allRigs; + + //private WeaponHandler weapons; + + private void Start() + { + allRigs = GetComponentsInChildren<Rigidbody>(); + //weapons = GetComponent<WeaponHandler>(); + } + + private void Update() + { + } + + public Rigidbody[] GetAllRigs() + { + return allRigs; + } +} diff --git a/ActiveRagdoll/Assets/TABG/Scripts/RigidbodyHolder.cs.meta b/ActiveRagdoll/Assets/TABG/Scripts/RigidbodyHolder.cs.meta new file mode 100644 index 0000000..cbc4eea --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Scripts/RigidbodyHolder.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 93ab2bd59aec043479576f7402aba9f0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: |