Skip to content

✨ Support for Tweening Multiple Animations at Once #483

@XanBelOr

Description

@XanBelOr

πŸ›‘ Before you Start

  • I have searched existing feature requests for my feature.
  • I have read the documentation, and I am sure this feature is not already implemented.
  • I am using the latest version of Animated Java.
  • I will only request a single feature in this request. If I have multiple feature requests, I will create a separate request for each one.

πŸ“ Description

Tweening animations currently is only supported for one at a time, tween functions currently pause all animations and start a new one. Tweening also uses one scoreboard objective for every animation (not a bug, just current behavior which works as intended).

πŸ’‘ Describe the solution you'd like

The option to support multiple animations being tweened at once (not necessarily replacing current functionality). This function would:

  • not pause every animation
  • only modify the interpolation of the enabled bones for that animation
  • use a unique scoreboard objective for that specific animation instead of using the same aj.tween_duration objective.

πŸ§ͺ Describe alternatives you've considered

Currently, I have separate functions in my project that adds this functionality for specific custom entities, but I have to use return run <my modified function> in the on_tick functions for the animations I need to be tweened at the same time, but the obvious issue is having to add that in after every export.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions