Skip to content

Commit

Permalink
Default: Several improvements of character model
Browse files Browse the repository at this point in the history
- 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:
  minetest/minetest#2813 (comment)
  #1392 (comment)

  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.
  • Loading branch information
Rogier-5 authored and paramat committed Nov 25, 2016
1 parent e4b1c93 commit fd87b04
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 0 deletions.
Binary file modified mods/default/models/character.b3d
Binary file not shown.
Binary file modified mods/default/models/character.blend
Binary file not shown.

0 comments on commit fd87b04

Please sign in to comment.