Skip to content

Commit

Permalink
Change hand velocity threshold for firing projectiles to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
miarolfe committed Apr 13, 2023
1 parent 7655d88 commit e365b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHIPSZ/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static void Main(string[] args)
if (SK.System.displayType == Display.Opaque)
Default.MeshCube.Draw(floor.GetMaterial(), floor.GetTransform());
if (Input.Key(Key.F).IsJustActive() || (Magnitude(GetVelocity(hand.palm.position, handPreviousFrame)) > 10f && hand.gripActivation == 0))
if (Input.Key(Key.F).IsJustActive() || (Magnitude(GetVelocity(hand.palm.position, handPreviousFrame)) > 4f && hand.gripActivation == 0))
{
if (spawnBallTimer.elasped)
{
Expand Down

0 comments on commit e365b75

Please sign in to comment.