Now that MagicaVoxel allows creation of keyframed animations, the ability to import a mesh for each keyframe and then animate them as a single entity is valuable. This feature allows you to select a new importer for MagicaVoxel VOX files (in the "Import" tab). The original importer, "MagicaVoxel Mesh", is still there and loads a MagicaVoxel VOX file as a single Mesh resource. The new importer, "MagicaVoxel MeshLibrary", loads a MagicaVoxel VOX file as a MeshLibrary that stores all MagicaVoxel keyframes as separate "keyframe" meshes. The plugin also adds a new node-type "FramedMeshInstance" which extends the "MeshInstance" node-type to let you easily swap out the current keyframe mesh, either manually or using an AnimationPlayer node. It does this by taking a MeshLibrary of "keyframe" meshes and letting you set a "currentFrame" integer member, which sets which "keyframe" mesh is shown.
Now that MagicaVoxel allows creation of keyframed animations, the ability to import a mesh for each keyframe and then animate them as a single entity is valuable. This feature allows you to select a new importer for MagicaVoxel VOX files (in the "Import" tab). The original importer, "MagicaVoxel Mesh", is still there and loads a MagicaVoxel VOX file as a single Mesh resource. The new importer, "MagicaVoxel MeshLibrary", loads a MagicaVoxel VOX file as a MeshLibrary that stores all MagicaVoxel keyframes as separate "keyframe" meshes. The plugin also adds a new node-type "FramedMeshInstance" which extends the "MeshInstance" node-type to let you easily swap out the current keyframe mesh, either manually or using an AnimationPlayer node. It does this by taking a MeshLibrary of "keyframe" meshes and letting you set a "currentFrame" integer member, which sets which "keyframe" mesh is shown.