Skip to content

🐛 Rigs with cameras do not play animations #434

@NBSurprise

Description

@NBSurprise

🛑 Before you Start

  • I have searched existing bug reports for my problem.
  • I have read the F-A-Q.
  • I am using the latest version of Animated Java
  • I will only report a single bug in this report. If I have found multiple bugs, I will create a separate report for each one.

🗣️ Describe the bug

When running a command to play an animation, the rig does not do anything. If a rig is initialized with an animation, only the first frame of it will play.
Any commands the rig is meant to run will not run. Any sounds meant to play will not play. And, while I have not tested this yet, I presume variant switches will not work.

I suspect the problem resides in the markers being used for the data of both the model and the camera.

⚠️ Error Message

🔄️ How to Reproduce

  1. Create a new rig.
  2. Add a camera to the rig.
  3. Create an animation for the rig.
  4. If applicable, add effects, such as commands.
  5. Export the rig.
  6. If applicable, launch the game and enter the world the rig is saved on.
  7. Summon the rig.
  8. Run the function to begin the rig's animation.

✅ Expected Behavior

The model should move accordingly, the camera should move accordingly, and any added effects should trigger accordingly.

💡 Solutions & Alternatives

  • Separating the model and camera. It does not work, as the camera's rig does not move even if both rigs are animated simultaneously.
  • Manually writing an animation for an entity to use as a camera. It technically works, but it would be a pain to implement.

🟩 Minecraft Version

1.21.4

🟦 Blockbench Version

1.7.3

💻 Operating System

Windows

📃 Installed Blockbench Plugins

  • Cameras

⛰️ Minecraft Environment

I'm using Minecraft 1.21.4, with Fabric 0.16.13

Below is the list of mods I have installed:
modlist.txt
All of them are either quality of life mods, performance mods, or mods that make creative building easier.

Metadata

Metadata

Assignees

Labels

🐛 BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions