mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2026-07-31 07:29:02 +02:00
Added some stuff that belongs somewhere else
This commit is contained in:
@@ -95,7 +95,6 @@ public class Player : NetworkBehaviour
|
||||
{
|
||||
isAlive = false;
|
||||
AddDeaths(1);
|
||||
Debug.Log("DIE");
|
||||
}
|
||||
|
||||
//Health
|
||||
|
||||
@@ -244,7 +244,8 @@ public class ProcedualAnimationController : NetworkBehaviour
|
||||
}
|
||||
void AimDownSights()
|
||||
{
|
||||
aimVal = gravityValue(aimVal, aimSpeed, 1, 0, isAiming);
|
||||
//aimVal = gravityValue(aimVal, aimSpeed, 1, 0, isAiming);
|
||||
aimVal = gravityValue(aimVal, aimSpeed, 1, 0, true);
|
||||
positionMod[2] = Vector3.Lerp(HoldPoint.transform.localPosition, AimPoint.transform.localPosition, Mathf.Pow(aimVal, 1.3f));
|
||||
}
|
||||
void calcRecoilOffset()
|
||||
|
||||
Reference in New Issue
Block a user