Skip to content

Commit

Permalink
remove unnecesary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Happyrobot33 committed Sep 10, 2023
1 parent bf94309 commit 2659b4b
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,6 @@ public class WingFlightPlusGlide : UdonSharpBehaviour
private HumanBodyBones leftLowerArmBone;
private HumanBodyBones rightHandBone;
private HumanBodyBones leftHandBone;
private HumanBodyBones spine;
private HumanBodyBones chest;
private float spineToChest = 0; // These two vars are only used to check if an avi has been recently swapped/scaled
private float spineToChest_last = 0;
private float shoulderDistance = 0; // Distance between the two shoulders

[HideInInspector]
Expand Down Expand Up @@ -278,8 +274,6 @@ private void FlightTick(float dt)
rightUpperArmBone = HumanBodyBones.RightUpperArm;
leftHandBone = HumanBodyBones.LeftHand;
rightHandBone = HumanBodyBones.RightHand;
spine = HumanBodyBones.Spine;
chest = HumanBodyBones.Chest;
CalculateStats();
}
setFinalVelocity = false;
Expand Down

0 comments on commit 2659b4b

Please sign in to comment.