{"id":21845274,"url":"https://github.com/shiinarinne/mmd6unitytool","last_synced_at":"2025-04-14T13:13:08.047Z","repository":{"id":161348429,"uuid":"567157213","full_name":"ShiinaRinne/MMD6UnityTool","owner":"ShiinaRinne","description":"May be used when you use Unity to make MMD.  For export camera and morph animations from VMD","archived":false,"fork":false,"pushed_at":"2024-04-05T07:14:40.000Z","size":883,"stargazers_count":53,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T02:22:12.139Z","etag":null,"topics":["mmd","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShiinaRinne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-11-17T07:32:55.000Z","updated_at":"2025-03-08T05:13:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c72f7d2-5136-4188-9b7a-3c8a4cf03ed8","html_url":"https://github.com/ShiinaRinne/MMD6UnityTool","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShiinaRinne%2FMMD6UnityTool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShiinaRinne%2FMMD6UnityTool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShiinaRinne%2FMMD6UnityTool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShiinaRinne%2FMMD6UnityTool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShiinaRinne","download_url":"https://codeload.github.com/ShiinaRinne/MMD6UnityTool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248886328,"owners_count":21177644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mmd","unity"],"created_at":"2024-11-27T23:08:56.061Z","updated_at":"2025-04-14T13:13:08.006Z","avatar_url":"https://github.com/ShiinaRinne.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# MMD6UnityTool\r\n\r\nMay be used when you use Unity to make MMD\r\n\r\nFor export **camera** and **morph** animations from VMD.\r\n\u003cbr\u003eIf you want to convert PMX to FBX, you can try using [MMD4Mecanim](https://stereoarts.jp/)\r\n\u003cbr\u003e\r\n\r\n\u003e For ease of use, directly copied from the following project, put it in a menu and made some modifications.\r\nTherefore, please refer to the LICENSE of the original projects\u003cbr\u003e\u003cbr\u003e\r\n[MMD2UnityTool](https://github.com/MorphoDiana/MMD2UnityTool)\u003cbr\u003e\r\n[MMD4UnityTools](https://github.com/ShiinaRinne/MMD4UnityTools)\r\n\r\n~~2+4=6~~\r\n\r\n## Demo\r\n[Miku お気に召すまま](https://www.bilibili.com/video/BV1eY411o7Dd/)\r\n\r\n\r\n\u003c!-- ## Known Issue --\u003e\r\n\r\n## Usage\r\n\r\n### For camera animation \r\n  just right click on VMD file and select `MMD/Create Camera Anim` \r\n  Based on the structure of anim, you need to make the camera conform to this structure\u003cbr\u003e\r\n  ![](pic/struct.png)\r\n  #### Method1 \r\n  1. Create two empty objects in the scene and set their parent\r\n  2. Add `Animator component` to the top-level object (yes, not to Camera)\r\n  3. Rename the middle object to `Distance`\r\n  4. Rotate \"Distance\" 180 degrees in the Y axis\r\n  #### Method 2\r\n  Use the tool script to create it with just one click \u003cbr\u003e\r\n  But it will create an additional Camera, and you may need to adjust the `GenerateMMDCamera` method in `MMD6UnityTool/Editor/AnimationHelpers.cs` (after line 115) for you own needs \u003cbr\u003e\r\n  ![](pic/camera.png)\r\n\r\n  When you use camera animation via Timeline, remember uncheck `Remove Start Offset` in Clip properties\u003cbr\u003e\r\n  ![](pic/offset.png)\r\n\r\n### For morph animation \r\n  you need to select the object in the scene that contains the blendshapes of the face under the model\r\n  (If it is generated by MMD4Mecanim, it is usually `your model/U_Char/U_Char_1`)\u003cbr\u003e\r\n  and select the VMD with morph (ie: multi selection)\u003cbr\u003e\r\n  ![](pic/morph.png) \u003cbr\u003e\r\n  Then right click and select `MMD/Create Morph Anim`\r\n\r\n\r\n\r\n## [Not Important] If you want to control Post-Process Volume via Timeline, feel free to try this repo\r\n[TimelineExtensions](https://github.com/ShiinaRinne/TimelineExtensions)\r\n\r\n## License\r\n[MIT License](https://github.com/ShiinaRinne/MMD6UnityTool/blob/master/LICENSE)\r\n\r\n## Require\r\nUnity 2021 or later","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiinarinne%2Fmmd6unitytool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshiinarinne%2Fmmd6unitytool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiinarinne%2Fmmd6unitytool/lists"}