From 611518a0ff65fd05e517d44adbcec639570b86eb Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Thu, 21 Feb 2019 23:44:07 -0500 Subject: [PATCH] Yellow theme. --- ScriptNode.java | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ScriptNode.java b/ScriptNode.java index 9cd6e9c..1315df0 100644 --- a/ScriptNode.java +++ b/ScriptNode.java @@ -972,37 +972,37 @@ if (command.equals("targetx")) { - ((Mocap) object).targetx = Float.parseFloat(strs[index+2]); + ((Mocap) object).targetdirx = Float.parseFloat(strs[index+2]); return; } if (command.equals("targetz")) { - ((Mocap) object).targetz = Float.parseFloat(strs[index+2]); + ((Mocap) object).targetdirz = Float.parseFloat(strs[index+2]); return; } if (command.equals("goalx")) { - ((Mocap) object).goalx = Float.parseFloat(strs[index+2]); + ((Mocap) object).goalposx = Float.parseFloat(strs[index+2]); return; } if (command.equals("goalz")) { - ((Mocap) object).goalz = Float.parseFloat(strs[index+2]); + ((Mocap) object).goalposz = Float.parseFloat(strs[index+2]); return; } if (command.equals("fromto")) { cVector from = new cVector(Float.parseFloat(strs[index+2]), - Float.parseFloat(strs[index+3]), - Float.parseFloat(strs[index+4])); + 0, // Float.parseFloat(strs[index+3]), + Float.parseFloat(strs[index+3])); - cVector to = new cVector(Float.parseFloat(strs[index+5]), - Float.parseFloat(strs[index+6]), - Float.parseFloat(strs[index+7])); + cVector to = new cVector(Float.parseFloat(strs[index+4]), + 0, // Float.parseFloat(strs[index+6]), + Float.parseFloat(strs[index+5])); ((Mocap) object).AddFromTo(from, to); return; -- Gitblit v1.6.2