|
@@ -1,7 +1,5 @@
|
|
|
package com.jme3.scene.plugins.blender.constraints;
|
|
package com.jme3.scene.plugins.blender.constraints;
|
|
|
|
|
|
|
|
-import java.util.Arrays;
|
|
|
|
|
-
|
|
|
|
|
import com.jme3.animation.Animation;
|
|
import com.jme3.animation.Animation;
|
|
|
import com.jme3.math.Transform;
|
|
import com.jme3.math.Transform;
|
|
|
import com.jme3.math.Vector3f;
|
|
import com.jme3.math.Vector3f;
|
|
@@ -85,9 +83,7 @@ import com.jme3.scene.plugins.ogre.AnimData;
|
|
|
Vector3f[] translations = track.getTranslations();
|
|
Vector3f[] translations = track.getTranslations();
|
|
|
int maxFrames = translations.length;
|
|
int maxFrames = translations.length;
|
|
|
for (int frame = 0; frame < maxFrames; ++frame) {
|
|
for (int frame = 0; frame < maxFrames; ++frame) {
|
|
|
- System.out.print(translations[frame] + "\t\t");
|
|
|
|
|
this.locLimit(translations[frame], ipo.calculateValue(frame));
|
|
this.locLimit(translations[frame], ipo.calculateValue(frame));
|
|
|
- System.out.println(translations[frame]);
|
|
|
|
|
}
|
|
}
|
|
|
track.setKeyframes(track.getTimes(), translations, track.getRotations(), track.getScales());
|
|
track.setKeyframes(track.getTimes(), translations, track.getRotations(), track.getScales());
|
|
|
}
|
|
}
|