fixed bumper and boulder

fixed wallrun on regular player prefab
This commit is contained in:
Melbyj1125
2022-01-28 13:11:13 -06:00
parent 4042eb1c67
commit 6bab1292f6
6 changed files with 20 additions and 10 deletions

View File

@@ -503,6 +503,7 @@ public class PlayerMovement : NetworkBehaviour
//Ragdoll Functions
public void GetHit(Vector3 dir, float force){
if (!IsLocalPlayer) { return; }
if(firstHit == false){
EnableRagdoll();
dir.Normalize();