.. | .. |
---|
997 | 997 | if (command.equals("fromto")) |
---|
998 | 998 | { |
---|
999 | 999 | cVector from = new cVector(Float.parseFloat(strs[index+2]), |
---|
1000 | | - Float.parseFloat(strs[index+3]), |
---|
1001 | | - Float.parseFloat(strs[index+4])); |
---|
| 1000 | + 0, // Float.parseFloat(strs[index+3]), |
---|
| 1001 | + Float.parseFloat(strs[index+3])); |
---|
1002 | 1002 | |
---|
1003 | | - cVector to = new cVector(Float.parseFloat(strs[index+5]), |
---|
1004 | | - Float.parseFloat(strs[index+6]), |
---|
1005 | | - Float.parseFloat(strs[index+7])); |
---|
| 1003 | + cVector to = new cVector(Float.parseFloat(strs[index+4]), |
---|
| 1004 | + 0, // Float.parseFloat(strs[index+6]), |
---|
| 1005 | + Float.parseFloat(strs[index+5])); |
---|
1006 | 1006 | |
---|
1007 | 1007 | ((Mocap) object).AddFromTo(from, to); |
---|
1008 | 1008 | return; |
---|
.. | .. |
---|
1301 | 1301 | { |
---|
1302 | 1302 | Mocap mocap = (Mocap) object; |
---|
1303 | 1303 | |
---|
1304 | | - mocap.SetPositionDelta(false, true, false, true); |
---|
| 1304 | + //mocap.SetPositionDelta(false, true, false, true); |
---|
| 1305 | + mocap.Rewind(); |
---|
| 1306 | + mocap.Fade(); |
---|
1305 | 1307 | } |
---|
1306 | 1308 | else |
---|
1307 | 1309 | new Exception().printStackTrace(); |
---|