Commit 949595de authored by kgingras's avatar kgingras
Browse files

finished maze

parent be658bcb
......@@ -143,7 +143,11 @@ public class CapsuleController : MonoBehaviour {
targetVelocity += -gravityForce*Vector3.up;
}
else{
targetVelocity += -runGravityForce*myNormal;
if(h == 0 && v==0){
}
else{
targetVelocity += -runGravityForce*myNormal;
}
}
......
No preview for this file type
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