Commit 46c0d8b4 authored by Tanner Grehawick's avatar Tanner Grehawick

start wall slide cling fix

parent bca7b3f8
......@@ -7,7 +7,7 @@ public class Walk : AbstractBehavior {
private float airSpeed;
public float airAcceleration;
public float friction;
public float wallClingTime; //time you will 'stick' to the wall after pressing the opposite direction
public float wallClingTime; //time you will 'stick' to the wall after releasing slide button
public float clingSpeed = 0.1f;
public float realSpeed;
......@@ -45,7 +45,6 @@ public class Walk : AbstractBehavior {
else
leftInt = 0;
isWallSliding = false;
if (collisionState.onGround) //movement on ground
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment