From: Rogier Date: Thu, 17 Nov 2016 08:09:48 +0000 (+0100) Subject: Default: Several improvements of character model X-Git-Tag: 0.4.15~29 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fd87b04f3c510fd61797c6e79b76830f03f485b7;p=oweals%2Fminetest_game.git Default: Several improvements of character model - Improve arms attachment The arm bones were at an angle, so that the bones were difficult to orient correctly, as unintuitive combinations of angles would be needed to get the default orientation, or any other acceptable orientation. Moreover, a simple rotation of the arm, e.g. forward, would require all angles to be adapted, instead of just one. The ends of the arms bones were moved from touching the body, to the center of the arm, at an equal distance from the sides of the arm and the shoulder; the arm bone is now in the center of the arm. - Fix body rotation The body was rotated 180° while the rest wasn't, leading to strange results when setting bone positions manually. - Fix default rotation of limbs (manually positioning them in their default position would require an 180° rotation). Is is not know how this was fixed. Maybe just because the model was re-exported. - The bone of the cape was moved to the center of the cape (it was at the edge). For some reason this fixed the 180° rotation of the cape when it was manually positioned (similar to previous issue). The changes above fix most of the issues mentioned in #1376 - Add a player-model-specific workaround for the problem described in: https://github.com/minetest/minetest/issues/2813#issuecomment-198796927 https://github.com/minetest/minetest_game/pull/1392#issuecomment-261669915 During walking, attached tools would randomly switch hands. Walking also happens to be the only animation where the body does not move. Making the body move an imperceptible amount makes the issue disappear for the player model. - Fix body vertex group: it no longer includes parts of arms and legs Thanks to @stujones11 for these last two changes. --- diff --git a/mods/default/models/character.b3d b/mods/default/models/character.b3d index 7558e6f8..9ab45436 100644 Binary files a/mods/default/models/character.b3d and b/mods/default/models/character.b3d differ diff --git a/mods/default/models/character.blend b/mods/default/models/character.blend index 7324325a..fca9f659 100644 Binary files a/mods/default/models/character.blend and b/mods/default/models/character.blend differ