🎨
MYTY
MYTY Kit
MYTY Kit
  • 👋Before you begin
    • GM, MYTY! 👐
    • What is MYTY Kit?
    • MYTY Kit System Requirements
    • Prerequisites
    • MYTY Kit Glossary
  • ✍️Getting started
    • 1. Prepare Illustration PSB
      • Key Requirements
      • Basics of Avatar Animation
      • Recommended PSB file structure for Trait Mapper
    • 2. Trait Mapping
      • Guide to MYTY Kit Trait Mapper
      • New Field: Token ID
    • 3. Install Unity
    • 4. Import MYTY Kit
    • 5. Import 2D Avatar Assets
  • 🔮Make animation
    • 6. Before Rigging
    • 7. Rigging in Sprite Editor
      • Mesh in Unity
    • 8. MYTY Kit Controllers
      • Bone 1D Controller
      • Bone 2D Controller
      • Sprite 1D Range Controller
      • Sprite 2D Nearest Controller
      • Rigged Sprite 2D Nearest Controller
    • 9. Apply Motion Tracking
      • Character Movement
      • Bone Motion Adapters
        • Bone2D
        • BoneTiltOrPosition
        • EyeBlink & EyeBlinkAll
        • EyeBrow & EyeBrowAll
        • Pupil & PupilAll
      • Sprite Motion Adapters
        • EyeBlink & EyeBlinkAll
        • EyeBrow & EyeBrowAll
        • MouthSprite
      • Advanced documentation
        • Mapper & Reducer
        • Stabilizing method
    • 10. Set up AR Face Mode
    • Advanced Animation
      • Physics 2D
      • Sprite Masking
      • Idle Animation
  • 🤹Connect with MYTY Metaverse
    • 11. Export MYTY Avatar
      • MYTY Avatar Viewer
      • Updates on File Export Format — Zip file
    • 12. Upload to Avatar Manager
  • 🗒️Appendix
    • 😄Mediapipe Extension
    • 🎨MotionAdaptorPalette
  • 🗂️MISC
    • About Us
    • Troubleshooting & FAQ
    • Change Log
    • License
      • License.md
    • Legacy Documentation
      • [v0.1.0] 4. Import MYTY Kit
      • [v0.1.0] 6. Before Rigging
      • [v0.1.0] 9. Apply Motion Tracking
      • [v.0.1.0] 11. Export MYTY Avatar
Powered by GitBook
On this page
  • TL;DR
  • What is the Motion Adapter?
  • Basic knowledge of Character movement
  • Types of Motion Adapters in MYTY Kit
  • Bone Motion Adapters
  • Sprite Motion Adapters
  • How to apply Motion Adapters
  • 1. Add DefaultMotionTemplate
  • 2. Add MediapipeMotionPack
  • 3. Create Motion Adapter Group
  • 4. Add Motion Adapters
  1. Make animation

9. Apply Motion Tracking

PreviousRigged Sprite 2D Nearest ControllerNextCharacter Movement

Last updated 2 years ago

TL;DR

Which motion do you want to control with motion adapters? Refer to the below table.

If you want to control...
with data set of...
Recommended Motion Adapters

Bone 1D Controller

Eye blink

Bone 1D Controller

Head tilting / Chest position

Bone 2D Controller

Face direction

Sprite 1D Range Controller

Eye blink

Sprite 2D Nearest Controller

Mouth size

Rigged Sprite 2D Nearest Controller

Mouth size

What is the Motion Adapter?

  • The Motion Adapter takes motion capture data from MotionTemplate, processes it, and feeds it to the Controllers.

  • There are different Motion Adapters for different types of data processing. Data processing type in turn depends on the type of motion data and the type of Controller(s) that will be used.

  • Theoretically, if there are M number of motion data types that can be tracked and N number of Controllers, a total of M*N number of Motion Adapters can exist.

  • MYTY Kit v1.0 provides 14 types of Motion Adapters prefabs to handle the more common animation scenarios.

  • There are two categories of motion adapters: Mapper and Reducer.

Do you wanna get more advanced information? Check this page. 👉

Basic knowledge of Character movement

This section contains guides showing you how 2D characters move along the 3D motion.

Types of Motion Adapters in MYTY Kit

MYTY Kit gives you everything you need to create a stunning live avatar. To apply motion tracking to your NFT avatar in real-time, take a closer look at these motion adapters.

With the release of MYTY Kit v1.0, Motion Adapters have been fully updated. The previous version of MYTY Kit Motion Adapter is located in the Assets > MYTY Kit > MotionAdater > Deprecated folder. For more information on how to use it, please refer to this page. 👉 [v0.1.0] 9. Apply Motion Tracking

Bone Motion Adapters

Bone Motion Adapters connect the motion data coming from the motion template to the Bone Controller. There are 5 types of Bone Motion Adapters in MYTY Kit, and each adapter can import motion data set as below.

Motion Adapter Name
Configured Motion data

Bone2D

Chest, Head joint

BoneTiltOrPosition

Chest, Head joint

EyeBlink & EyeBlinkAll

Simple Face Parameters (size of left/right eye)

EyeBrow & EyeBrowAll

Simple Face Parameters (height of left/right eyebrow)

Pupil & PupilAll

Simple Face Parameters (position of left/right pupil)

How to use Bone Motion Adapters?

Sprite Motion Adapters

Sprite Motion Adapters connect the motion data coming from the Motion Template to the Sprite Controller. There are 3 types of Sprite Motion Adapters in MYTY Kit, and each adapter can import motion data set as below.

Motion Adapter Name
Configured Motion data

EyeBlink & EyeBlinkAll

Simple Face Parameters (size of left/right eye)

EyeBrow & EyeBrowAll

Simple Face Parameters (height of left/right eyebrow)

Mouth

Simple Face Parameters (wide and height of mouth)

How to use Sprite Motion Adapters?

How to apply Motion Adapters

1. Add DefaultMotionTemplate

1) In the Project window, Select Assets > MYTYKit > MotionTemplate. Drag DefaultMotionTemplate to a blank area in the Hierarchy window.

2. Add MediapipeMotionPack

1) In the Project window, Select Assets > MYTYKit > MotionTemplate > Motion Source Samples. Drag MediapipeMotionPack to a blank area in the Hierarchy window.

2) Click the MediapipeMotionPack > MediapipeMotionSource in the Hierarchy window. Then, in the Inspector window, click the ✚ icon below the Motion Template Mapper List.

3) Set the Element 0 to the DefaultMotionTemplate GameObject.

3. Create Motion Adapter Group

1) Right-click on a blank area of the Hierarchy window, and select Create Component to create a GameObject for the MotionAdapter Group.

2) In the Inspector window, click Add Component and apply the Motion Adapter Group Script.

4. Add Motion Adapters

1) In the Project window, go to Assets > MYTYKit > MotionAdapter, click and drag the prefabs you want to apply into the MotionAdapter Group object in the Hierarchy window.

2) In the Inspector window, adjust the settings for each MotionAdapter, selecting the appropriate scripts, Controllers, and objects.

3) If nothing appears when you click the ◉ icon, it may be due to either of the following:

  1. The DefaultMotionTemplate or the MediapipeMotionPack is not in the Hierarchy window → Check #add-defaultmotiontemplate and #add-mediapipemotionpack

4) Click ▶️(Play) to check that Motion Tracking works as intended.

Repeat steps 1 to 4 for each bone or sprite animation.

The appropriate Script(s) are not applied to the Controller → Check

Have a question or an idea? If you have a question to ask or an idea to share, participate in . We’d love to hear from you.

🔮
Advanced documentation
Character Movement
Bone Motion Adapters
Sprite Motion Adapters
😄
MYTY Kit Community
👉 (Bone) EyeBlink
👉 (Bone) EyeBlinkAll
👉 BoneTiltOrPosition
👉 Bone2D
👉 (Sprite) EyeBlink
👉 (Sprite) EyeBlinkAll
👉 (Sprite) Mouth
👉 (Sprite) Mouth
#2.-create-controller