Skip to content

Camera Animation Export#132

Merged
Nusiq merged 10 commits into
masterfrom
camera-animation-export
Jun 12, 2026
Merged

Camera Animation Export#132
Nusiq merged 10 commits into
masterfrom
camera-animation-export

Conversation

@Nusiq

@Nusiq Nusiq commented May 28, 2026

Copy link
Copy Markdown
Owner

Adds an operator for exporting camera animations data to be used with Minecraft Scripting API.

Nusiq added 10 commits May 28, 2026 17:33
- Moved some parts of code from animation.ts to a shared location animation_utils.ts to use it with new camera_animation.ts
- McblendObject can be created without McblendObjectGroup (this is used for cameras)
- The new export operation creates a script in the built-in Blender's text editor so that parts of it can be easily copied
  to the actual code base.
- The generated code is a TypeScript script using @minecraft/server API.
…the animation, not the entire script.

The data is exported to a file, instead of Blender's text editor.
…erpolation for camera movement based on the keyframe types.
… and selecting the wrong Euler rotations representing the same orientation of the model.
@Nusiq Nusiq marked this pull request as ready for review June 12, 2026 10:55
@Nusiq Nusiq merged commit da53b9e into master Jun 12, 2026
1 check passed
@Nusiq Nusiq deleted the camera-animation-export branch June 12, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant