Go to file
Lars Mueller 5894c9a418 Add screenshot 2020-09-20 17:22:26 +02:00
models Default character: b3d, glTF and modeldata 2020-09-20 15:09:23 +02:00
Readme.md Add screenshot 2020-09-20 17:22:26 +02:00
conf.lua Configuration 2020-09-20 17:22:10 +02:00
default_config.json Configuration 2020-09-20 17:22:10 +02:00
importer.lua Importer fixes & tweaks 2020-09-20 15:07:42 +02:00
init.lua Configuration 2020-09-20 17:22:10 +02:00
main.lua Configuration 2020-09-20 17:22:10 +02:00
mod.conf Update mod.conf 2020-09-20 15:16:06 +02:00
modeldata.lua Default character: b3d, glTF and modeldata 2020-09-20 15:09:23 +02:00
quaternion.lua Quaternions 2020-09-20 15:07:20 +02:00
screenshot.png Add screenshot 2020-09-20 17:22:26 +02:00

Readme.md

Character Animations (character_anim)

Animates the character. Resembles playeranim and headanim.

About

Depends on modlib and cmdlib. Code written by Lars Mueller aka LMD or appguru(eu) and licensed under the MIT license.

Screenshot

Image

  • GitHub - sources, issue tracking, contributing
  • Discord - discussion, chatting
  • Minetest Forum - (more organized) discussion
  • ContentDB - releases (cloning from GitHub is recommended)

Features

  • Animates head, right arm & body
  • Advantages over playeranim:
    • Extracts exact animations and bone positions from glTF models
    • Also animates attached players (with restrictions on angles)
  • Advantages over headanim:
    • Provides compatibility for Minetest 5.2.0 and lower
    • Head angles are clamped, head can tilt sideways
    • Animates right arm & body as well

Instructions

  1. If you want to use a custom model, install binarystream from LuaRocks:
    1. sudo luarocks install binarystream on many UNIX-systems
    2. Add player_animations to secure.trusted_mods (or disable mod security)
    3. Do /ca
  2. Install and use character_anim like any other mod