mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-26 20:53:08 +00:00
Implemented XYZ rotations correctly, now clearly rotate around an axis respective to the player's camera.
This commit is contained in:
1 parent
75b7c01f87
commit
1cb27a9e7a
6 files changed
+10
-58
No files matched your search
@@ -98,11 +98,6 @@ public class NoppesUtil {
|
||||
float alphaRate = buffer.readFloat();
|
||||
int alphaRateStart = buffer.readInt();
|
||||
|
||||
float rotation1 = buffer.readFloat();
|
||||
float rotation2 = buffer.readFloat();
|
||||
float rotationRate = buffer.readFloat();
|
||||
int rotationRateStart = buffer.readInt();
|
||||
|
||||
float rotationX1 = buffer.readFloat();
|
||||
float rotationX2 = buffer.readFloat();
|
||||
float rotationXRate = buffer.readFloat();
|
||||
@@ -133,7 +128,6 @@ public class NoppesUtil {
|
||||
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,
|
||||
|
||||
Reference in new issue
Block a user