1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-06 02:00:26 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
Rogier
fd87b04f3c 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.
2016-11-25 03:03:48 +00:00
Xunto
e77ef553ff Default: Fix character model uv-mapping
Arm and leg textures are now edge-consistent
2016-06-22 02:12:11 +01:00
Auke Kok
33aa5e77dc Character: Fix boat leg wobble.
There was a small leg wobble in the sitting animation (visible
when sitting on the boat). This removes it.
2016-04-18 01:51:57 +01:00
Auke Kok
8422f2ef52 Fix character.b3d animation issues.
Both the standing and sitting animations had misplaced curve
cusps that caused the end part of the animation to wiggle the
feet slightly back and forward.

I've fixed both animations parts and re-exported. Verified in-game
with multiplayer that everything was indeed fixed.
2016-02-18 13:57:04 +00:00
Jordan Snelling
428a8127cb Added a caped player model, which works like the
hat layer, when the area for the cape (a 8x12 set of pixels) which is to
the right of the arm texture, is given a non-alpha or semi-alpha pixel,
it will display ingame, similar to the hat layer on the player's head.
2014-02-07 18:45:00 -05:00
PilzAdam
fcf0816fa8 Move all common mods back to minetest_game 2013-05-18 16:05:16 +02:00
PilzAdam
d6ec56811b Use common mods 2013-03-21 18:44:36 +01:00
MirceaKitsune
e7b4b2ba57 Fix the death animation looping while the player is dead, by using a still frame instead (I don't believe the amount of detail for a full animation is needed anyway). Also call the animation Lay instead of Death, so other mods like beds can use it 2012-11-27 02:50:19 +02:00
MirceaKitsune
89fb5aed7f Fix positioning for sit animation 2012-11-27 01:52:39 +02:00
MirceaKitsune
df54836ea0 Add support for hats, so that MineCraft skins using this feature are compatible 2012-11-27 01:26:51 +02:00
MirceaKitsune
f2a67871d2 VanessaE suggested a sit animation, so add one to the player. Not used by default, but many mods might find this handy 2012-11-27 01:19:48 +02:00
MirceaKitsune
24d8d79ea1 Make the arms swing more for the walk animation 2012-11-25 21:02:01 +02:00
MirceaKitsune
91da5d1308 Model - Get rid of the 4 walk animations and only leave one, which looks good for all directions. Also add a Walk + Mine animation, since Irrlicht doesn't support blending the two animations otherwise
Update player script to match the animations in the previous commit

Shorten the still mine animation so the hand matches the speed of the walk-mine animation

Reduce animation speed to half when sneaking
2012-11-25 21:02:01 +02:00
MirceaKitsune
b97400d71d Updated texture from Jordach, and fix the licensing confusion
I forgot frame range definitions need to be per-model, since each model could have its own animations. Specify current ones as being player.x's

Add death animation, and correct many mesh issues I didn't notice last time
2012-11-25 21:02:01 +02:00
MirceaKitsune
abaf4c5121 Remove segmentation of limbs, because I don't like how the arms appeared to shrink during some deformations. This makes the player mesh exactly like the one in MineCraft, and gives people more reasons to complain that we're copying it :P
Rename player to character, to avoid conflicting with the default player sprite

New skin by Jordach

Add licenses to readme for the model and skin

Fix bad mirroring of left arm for player model
2012-11-25 21:02:00 +02:00