IJobPuppet:

-Added the option to not interpolate between angles and move from one value to another at a constant speed.
This commit is contained in:
Luis C.M committed 2023-01-07 13:13:44 -06:00
1 parent b4cb69000e
commit 4346992f14
4 files changed
+64 -17

No files matched your search

@@ -16,19 +16,29 @@ public class ScriptJobPuppet extends ScriptJobInterface implements IJobPuppet {
this.job.animate = animated;
}
public boolean fullAngles() {
return job.fullAngles;
public boolean isAnimated() {
return this.job.animate;
}
public void setInterpolated(boolean interpolate) {
this.job.interpolate = interpolate;
}
public boolean isInterpolated() {
return this.job.interpolate;
}
public void setFullAngles(boolean limit) {
job.fullAngles = limit;
}
public boolean isAnimated() {
return this.job.animate;
public boolean fullAngles() {
return job.fullAngles;
}
public void setAnimRate(float animRate) {
if (animRate < 0)
animRate = 0;
this.job.animRate = animRate;
}