Skip to content
Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software

Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software

Download Free Animation Software – Let's Learn How to Do Everything!

  • Step-by-Step MMD instructions
  • DOWNLOADS
  • Troubleshoot, Fix MMD
  • Site Contents
  • Reggie Replies Q&A
  • Homework!
  • What IS MMD?
    • Download MikuMikuDance Newest Latest Version of MMD
  • “HOW TO”
    • Raycast RAY-MMD Effect Tutorials
  • BONUS PAGES
    • Why convert PMD models to PMX?
  • HALL of CHAMPIONS
  • Tutorial Categories
  • About
    • Privacy Policy
  • Toggle search form
  • Here is the plan for the ball tossing motion in MikuMikuDance 7.39
    “Bonk goes the Miku” new video using Accessories created in SketchUp Google SketchUp and MMD
  • Reggie's Adoration of FIVE MMD Models
    Reggie’s ADORATION of FIVE MMD Models -Downloads and Instructions "the making of" my video
  • Using Beamman Particle-styled MME effects Beamman's AuraParticle
  • Next Level in MMD Video Evolution
    Post-Production Editing Yields Next Step in MMD Video Quality Making Videos - Rendering to AVI
  • My personal Jopurney through the many MMD memes.
    Personal Journey MMD Leekspin, Nyan Cat, Levan Polkka, more! Random Thoughts & Visions
  • Breathing “SOUL” into MMD models and scenes using Fine Art Techniques Advanced Shader Technique
  • Assemble your stages from .x type components Accessory Manipulation/Adjust
  • Recoloring MMD’s Control Panel GUI Interface Genbento
MMD Rotate object 360-degrees part 2

MMD Rotating Objects 360-degrees -Miku’s Guide to the Galaxy (Part 2)

Posted on September 26, 2019July 8, 2024 By Trackdancer No Comments on MMD Rotating Objects 360-degrees -Miku’s Guide to the Galaxy (Part 2)

Miku has godlike programming skills... MMD Rotating objects 360-degrees

MMD Rotating objects 360-degrees…
Miku’s Guide to the Galaxy – Animating the Earth and the Moon (Part 2)

A feature article on LearnMMD by Trackdancer2015!

In Part One, we downloaded our planets and prepped the objects to be rotated… loaded our object into PMXE and centered-up the center-bone and added a Motherbone.
Here, in Part Two, we will animate MMD rotating objects 360-degrees.

The nature of MMD’s 3D space

Any point in space inside of MMD can be referenced by a coordinate system, In the picture below, the origin point which is 0x, 0y, 0z is the point immediately under the South Pole. MMD knows where everything is relative to this point. So for example, Miku and the Moon both have coordinate values relative to the origin point which tells MMD where to draw them. But how exactly does MMD know how to draw Miku?

The LOCAL coordinate system

Miku has a Center bone. Every other bone in her structure is relative to this bone. All that MMD cares about is where her Center bone is relative to the world origin point. You can confirm this in MMD, simply by selecting her Center bone and MMD will display it’s value. It does this for no other bone in her body except her mother bone which has a special function.

When MMD draws Miku, it looks at her PMX or PMD file and that gives it all the information it needs to draw Miku. In simplistic terms, MMD locates Miku in MMD’s 3D space based on the position of her Center bone and then builds her up using the rest of her bones which all have coordinate values which are relative to her center bone. Because of this system, when we move any of Miku’s bones, we use the “LOCAL” coordinate system.

Miku’s center bone is connected to a system of sequential bones chains. Each bone in the chain has an axis of rotation which is based off of it’s relationship to the other bones in the chain. This system, in a nutshell, makes it much easier (and faster) for MMD to draw Miku as all it needs to worry about is how changes in one bone affects subsequent bones in the chain.

This is an important concept to understand: each individual model loaded into MMD must have a center bone and is controlled by its own unique local coordinate system.

In local model, each bone has its own axis which is determined by its location in a chain of bones.

The GLOBAL coordinate system

The GLOBAL coordinate system is absolute. If we want Miku to walk, we can make a walk animation, and she will execute it but will move no where in 3D space unless her center bone is moved.

If a model has a “mother bone” also known as a “master bone” or  “root bone”, that bone can be used to customize the world coordinate system for the model to which that bone belongs. This is why normally, you do not use this bone for any other purpose.

In global mode, the bone use the global coordinate system. Generally, this mode is useless for manipulating bones within a bone chain as shown here, so this image should be regarded as being for illustrative purposes only.

Why it is important to understand the functions of these two systems

A lot of beginners to MMD do not understand the full significance and differences between the LOCAL and the GLOBAL coordinate systems. What they are used for, when to use them and how they are interlinked. This is why a lot of new users have difficulty rotating models in MMD.

But in a nutshell:

  • The Local coordinate system is used when manipulating the bones that is within the structure of any given individual model.
    • example of use: moving or rotating any bone in the Miku model; treat the whole model as one self-inclusive system.
  • The Global coordinate system is used to manipulate any given individual model’s disposition within MMD’s 3D world environment.
    • example of use: moving or rotating an entire model within MMD’s 3D space.
You toggle between the LOCAL and GLOBAL coordinate systems by clicking on the title above the widgets on the lower right side of the main display.
    • In camera mode you can toggle between Local > Global > Accessory modes.
    • In model manipulation mode you can toggle from Local > Global mode only.

Describing direction of rotation in MMD

Anything in MMD can be rotated in the following directions:

  • Y-axis(green)
    • LEFT > RIGHT
    • RIGHT > LEFT
  • X-axis (red)
    • UP > DOWN
    • DOWN > UP
  • Z-axis (blue)
    • FRONT > BACK
    • BACK > FRONT

But how does MMD know which way you specifically want the direction of rotation? The answer is that you show MMD and it will “remember” the desired direction of rotation but this is not an AI function and requires specific steps as otherwise MMD will do its own thing.

A Problem and a Solution

If you attempt to animate a 360 degrees rotation in MMD, nothing happens. This is because MMD interprets 0.0 degrees > 360 degrees as going from 0.0 degrees > 0.0 degrees. So the way to rotate an object 360 degrees is to do it segments. Watch the video below as it shows you how it is done:

Although the video only shows a clockwise rotation along the Y-axis, the same method applies on any axis and in any direction of rotation. The only trick is to get your mind around it all and once you “get it“, it is actually stupidly simple to do. But in a nutshell here are “the rules“:

  • Use GLOBAL mode (recommended).
  • Only use the widget controls on the lower right of the main display to rotate the model.
  • Only rotate in the desired direction of rotation.
  • Fine tune the angle using the input box(es).
  • Click register to make sure that MMD accepts the values. This will create an entry in the Groups display on the left side of the screen.
  • Rotate in 90 degree segments.

MMD will accept 180 degree and 270 degree segments as well. So you could have done the same thing above using a 270 degree segment plus a 90 degree segment. But given MMD’s quirky nature, the method shown is preferable.

We used LOCAL mode in the video. This is fine because we were only rotating on a single axis.

But as a beginner make it a habit to use GLOBAL mode for rotations and save yourself a lot of grief.

Additional Notes

  • Negative values rotate in one direction and positive values rotate in the opposite direction; pay attention to these.
  • MMD will tell you whether to use a positive or negative value in the angle input box based on the direction of rotation.
  • You cannot enter “-0.0”. Zero cannot be a negative number! MMD will change a negative zero to “0.0”.
  • You cannot enter “360” either; MMD also changes this to “0.0”.
  • MMD does not memorize the direction of rotation once the motion is registered.
  • This means that you cannot use “cut/paste” methods to edit the Groups list. All additional rotations need to be manually entered.
  • If you make a mistake, delete the entry in the Groups list display and redo.

Rotating on more than one axis

You can also rotate along multiple axis at the same time as the next video will show:

There is a trick to this and as long as you follow this method, you should not run into problems:

  1. Use GLOBAL mode (highly recommended and in some instances mandatory).
  2. Rotate along one axis first.
  3. Register this rotation.
  4. Now rotate along the other axis.
  5. Register this rotation as well.

If you really need to rotate along a third axis, just repeat steps 3 and 4.

USE GLOBAL MODE as it makes doing things far less confusing both for yourself and MMD.

ROTATING THE EARTH AND MOON MODEL

The real Moon rotates around the Earth about every 27-28 days and the Earth rotates around its own axis every 24 hours. Nobody in their right mind will want to watch that, especially Miku.

In any case, we will make things very simple for our project animation:

  • The Moon will rotate around the Earth in 1000 frames (it does only a single complete rotation).
  • The Earth will rotate around its own axis 360 degrees every 200 frames (for a total of 5 full rotations).

The method used to rotate both models is exactly the same one used to rotate the laptop in our first video: 4 x 90 degree segments for one complete rotation. Once all the rotations are programmed, we will use the mother bone at frame 0 to tilt the entire model 23.5 degrees to simulate the Earth’s tilt. It is just this simple to do and the entire process can be seen in the video below.

The moon also has a tilt too, but since the model isn’t accurate but simply representative, we will ignore this. If you want to do this the model does allow the moon to be tilted. But, honestly no one will notice the difference.

We encourage you to try and recreate this animation using the instructions above as being able to do this for yourself will be very instructive. But if you just want to see the motion in action, the motion file is included in the Earth and Moon model download file.

CREDITS

      • Appearance Miku: Mamama
      • Planet models: Spakaford1
      • Background image: NASA
      • MMD 9.31 / PMX Editor 0.2.5.4 / AviUTIL / IrfanView64
      • Music: YouTube Audio Library (Jeremy Blake)
      • MME: ExcellentShadows2 / dDarkShader

 


– SEE BELOW for MORE MMD TUTORIALS…


— — —


– _ — –


Visit the LearnMMD.com Homepage! Plenty of Mikumikudance instruction and info!

More MMD Tutorials...

Reader asks how to create MMD artwork... stuff like posing, camerawork?

A reader asks... Is there a tutorial on how to create MMD artwork, like those you ...read more

Learn MikuMikuDance in Small Steps! New LearnMMD Video Series

Learn MikuMikuDance in Small Steps. Where can I find easy-to-follow MMD instructions on YouTube? How ...read more

Apply Multiple Effects on an Entire MMD Model Using M4Layer Effect

How can I apply multiple effects to an MMD model? Can I use more than ...read more

MMD Plugin Manager... I Found a Treasure!

What sorts of MMD Plugins are there? MMD Plugin Manager? MMD Plugins. Plugin MMD. More ...read more

2023: Hatsune Miku is 16 Years Old by design and in reality!

Finally, in 2023, Hatsune Miku is 16 years old! When did Miku make her first ...read more

SEARCH LearnMMD.com... it's Easy!

Search LearnMMD.com to find your answers! With the posting of this article, LearnMMD.com has 758 tutorials ...read more

Making Smooth Motions, MMD Tutorials, Trackdancer2015

Post navigation

Previous Post: Animate MMD ballet pirouette motion
Next Post: MMD Rotating objects 360-degrees -Miku’s Guide to the Galaxy (Part One)

Related Posts

  • RAY-MMD demonstration featuring texture and environmental lighting MME Effects Tutorials
  • Ray-MMD shading Mech-Girls!
    Ray-MMD Shading Mech Girls brings those beauties to life! MMD Tutorials
  • RAY-MMD: Creating your own custom sky box MMD Tutorials
  • Staging and the 12 Principles of Animation. Accessory Manipulation/Adjust
  • Using the Blood Effect in MMD MikuMikuDance Accessory Manipulation/Adjust
  • How to use Raycast MMD MME Shader Effect Advanced Shader Technique

More Related Articles

Close Up of Sph File with Text Create Sph Files in Blender Without Drawing Anything! Blender
MMD EVERGLOW – Adios【Motion by Ureshiiiiii】- Free Download Motion and WAV "the making of" my video
Mahlazer’s Walking Motion vmd file download for MMD Make a Smooth Walking Motion
Widescreen MMD “Kiss Me” animation too long but I wanted More! "the making of" my video
Written Credits aid YouTube MMDer search results Keep the Faith-MMD Credits/Sharing
My new “Ring Around the Moon” MMD video is on YouTube "the making of" my video

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Download the latest version of MikuMikuDance!
See the MMD Step-by-Step instructions page!
Learn how to make your own MMD motions!
LearnMMD.com
  • The MMD 7.39 BONE MENU Options MENU Option Descriptions
  • Continuation of previous article's dispute!
    Beamman GSW Gauge for Game-like HP Health Points Display Beamman's GSW Gauge
  • Beautiful CyberMiku Black ver1.5 has wings!
    Download MMD CyberMiku Black ver1.5 with Glowing Wings and an attitude! "the making of" my video
  • MMD Fine Art: Explaining the inspiration of my MikuRose MMD Basics
  • Animation Fade helps MMD scene transitions Animation Shortcuts
  • Select Japanese Shift JIS from the Convert dropdown in Notepad++.
    Read Japanese READ ME Text Files with Notepad++, Google Translate Navigating Japanese Pages
  • Rules for Common MMD Models
    Rules of Common MMD Models and How to NOT Break Them Keep the Faith-MMD Credits/Sharing
  • Animation Inspiration: Motion Trace but Do your own thing! MMD Tutorials

Copyright © 2022 Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software and Instructions..

Powered by PressBook Premium theme

Go to mobile version