Implemented XYZ rotations correctly, now clearly rotate around an axis respective to the player's camera.

This commit is contained in:
luisc committed 2022-03-04 18:08:05 -06:00
1 parent 75b7c01f87
commit 1cb27a9e7a
6 files changed
+10 -58

No files matched your search

@@ -79,7 +79,6 @@ public class ScriptEntity<T extends Entity> implements IEntity {
motionX, motionY, motionZ, gravity,
scale1, scale2, scaleRate, scaleRateStart,
alpha1, alpha2, alphaRate, alphaRateStart,
rotation1, rotation2, rotationRate, rotationRateStart,
rotationX1, rotationX2, rotationXRate, rotationXRateStart,
rotationY1, rotationY2, rotationYRate, rotationYRateStart,
rotationZ1, rotationZ2, rotationZRate, rotationZRateStart,