Semi-Fixed Wallrunning

This commit is contained in:
Melbyj1125
2021-11-29 11:53:49 -06:00
parent 665b1c793f
commit 33cf07a9ae
38 changed files with 9221 additions and 94 deletions

View File

@@ -344,7 +344,7 @@ public class dPlayerMovement : NetworkBehaviour
tempSet = true;
}
}
else{
else if(!jumpPressed && pStats.HasGlider){
if(tempSet == true){
pStats.Traction = tempTraction;
@@ -356,7 +356,7 @@ public class dPlayerMovement : NetworkBehaviour
}
//Wallrunning
if (pStats.HasWallrun) { wallRun.WallRunRoutine(); } //adjusted later if we are wallrunning
else if (pStats.HasWallrun) { wallRun.WallRunRoutine(); } //adjusted later if we are wallrunning
//If gliding
//Go down slowly
}