From 999a454764e91714847f531aee13903bfc31b0a9 Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Tue, 19 Mar 2024 10:12:53 +0800 Subject: *misc --- .../Assets/TABG/Scripts/Actions/Standing.cs | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 ActiveRagdoll/Assets/TABG/Scripts/Actions/Standing.cs (limited to 'ActiveRagdoll/Assets/TABG/Scripts/Actions/Standing.cs') diff --git a/ActiveRagdoll/Assets/TABG/Scripts/Actions/Standing.cs b/ActiveRagdoll/Assets/TABG/Scripts/Actions/Standing.cs deleted file mode 100644 index 6c1b070..0000000 --- a/ActiveRagdoll/Assets/TABG/Scripts/Actions/Standing.cs +++ /dev/null @@ -1,20 +0,0 @@ -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); - } - } - -} -- cgit v1.1-26-g67d0