Skip to content

Commit

Permalink
Removed acceleration from default DebugInputField parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
elimvb committed Jul 16, 2024
1 parent a07538c commit 633332c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions unity/Assets/Scripts/DebugInputField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3286,7 +3286,7 @@ IEnumerator executeBatch(JArray jActions) {
Dictionary<string, object> action = new Dictionary<string, object>();
action["action"] = "MoveAhead";
action["speed"] = 0.14f;
action["acceleration"] = 0.14f;
// action["acceleration"] = 0.14f;

if (splitcommand.Length > 1) {
action["moveMagnitude"] = float.Parse(splitcommand[1]);
Expand All @@ -3302,7 +3302,7 @@ IEnumerator executeBatch(JArray jActions) {
Dictionary<string, object> action = new Dictionary<string, object>();
action["action"] = "MoveBack";
action["speed"] = 0.14f;
action["acceleration"] = 0.14f;
// action["acceleration"] = 0.14f;

if (splitcommand.Length > 1) {
action["moveMagnitude"] = float.Parse(splitcommand[1]);
Expand Down Expand Up @@ -3530,7 +3530,7 @@ IEnumerator executeBatch(JArray jActions) {
Dictionary<string, object> action = new Dictionary<string, object>();
action["action"] = "RotateLeft";
action["speed"] = 22.5f;
action["acceleration"] = 22.5f;
// action["acceleration"] = 22.5f;

if (splitcommand.Length > 1) {
action["degrees"] = float.Parse(splitcommand[1]);
Expand Down Expand Up @@ -3559,7 +3559,7 @@ IEnumerator executeBatch(JArray jActions) {
Dictionary<string, object> action = new Dictionary<string, object>();
action["action"] = "RotateRight";
action["speed"] = 22.5f;
action["acceleration"] = 22.5f;
// action["acceleration"] = 22.5f;

if (splitcommand.Length > 1) {
action["degrees"] = float.Parse(splitcommand[1]);
Expand Down

0 comments on commit 633332c

Please sign in to comment.