Skip to content
Snippets Groups Projects
Commit 949595de authored by kgingras's avatar kgingras
Browse files

finished maze

parent be658bcb
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment