Simple Animator

Simple Animator

Mod

A animator lib for player

Client and server Library

3,900 downloads
4 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

SimpleAnimator-neoforge-1.21-1.2.2

Changelog

Small Update and Feature Preview

This update mostly for developers.

Animation Variables

Animation side

Animation supports keyframes for variables, but since the corresponding animation tool or BlockBench plugin has not yet been developed, the current method of adding animation variables is as follows:

  1. Add an empty group in BlockBench
  2. Name it with format: var_name1_name2_name3 (underlines are separators, maximum of 3 variables per group)
  3. Goto “Animate” and add keyframes for them.

The variable uses the first value of Position, Rotation, Scale.

Program side

Variables only store in client, you can get a variable by using: ClientAnimator.getVariable(name)
If the running animation does not contain this variable, this function returns an unchangeable VariableHolder with a value of 0.

Quasi Inverse Kinematics

This is an experimental feature, and only in client side.
This feature provides three built-in variables: ikLeftArm, ikRightArm, ikHead, you can add it in animations to control IK weights.
The IK target can only be set by programs, using: ClientAnimator.setIkTarget(bone, pos).

Full Changelog: https://github.com/LouisQuepierts/SimpleAnimator/compare/1.2.1...1.2.2

Files

SimpleAnimator-neoforge-1.21-1.2.2.jar(187.98 KiB) Primary Download

Project members

LouisQuepierts

Member

Details

Licensed MIT
Published 6 months ago
Updated 5 months ago