Added setRotation function to set all three rotations for parts.

This commit is contained in:
Luis C.M committed 2022-12-22 10:02:21 -06:00
1 parent 037711893d
commit c0ad318573
1 file changed
+6
@@ -115,6 +115,12 @@ public class ScriptJobPuppet extends ScriptJobInterface implements IJobPuppet {
return 0;
}
public void setRotation(int part, int rotationX, int rotationY, int rotationZ) {
this.setRotationX(part,rotationX);
this.setRotationX(part,rotationY);
this.setRotationX(part,rotationZ);
}
/**
* @since 1.7.10c
* @param part Body part (0:head, 1:body, 2:leftarm, 3:rightarm, 4:leftleg, 5:rightleg)