From b4e020bf015c6912d3aa7f8445a1b0f1653a0b6e Mon Sep 17 00:00:00 2001 From: Goodlyay Date: Wed, 16 Aug 2017 18:11:22 -0700 Subject: [PATCH] Created Position of the player's arm in 1st person, from Survival Test (markdown) --- ...-player's-arm-in-1st-person,-from-Survival-Test.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Position-of-the-player's-arm-in-1st-person,-from-Survival-Test.md diff --git a/Position-of-the-player's-arm-in-1st-person,-from-Survival-Test.md b/Position-of-the-player's-arm-in-1st-person,-from-Survival-Test.md new file mode 100644 index 0000000..c318346 --- /dev/null +++ b/Position-of-the-player's-arm-in-1st-person,-from-Survival-Test.md @@ -0,0 +1,11 @@ +By Goodlyay, found by looking at the source code for ClassiCube. + +Note that while the arm is on the right side, it actually uses the model of the left arm. (This wasn't noticable since your arm was always steve, but since there are custom skins in ClassicalSharp, we will use the proper right arm.) + + + Rotation origin of arm is same as on the player model, as far as I know. + The arm model is scaled by X 1, Y -1, Z -1 + The arm model is moved by Y + 0.2 + The arm model is rotated on the Z axis by -120 + (This wasn't in the original, but fixes weird UV mapping on the skin that was unnoticable in the original due to steve's texture.) + The arm model is rotated on the Y axis by -90 \ No newline at end of file