Skip to content

Malcolmnixon/GodotXRMvnTracker

Repository files navigation

Godot XR MVN Tracker

GitHub forks GitHub Repo stars GitHub contributors GitHub

This repository contains an MVN packet decoder for Godot that can drive avatars through the XR Tracker system.

Versions

Official releases are tagged and can be found here.

The following branches are in active development:

Branch Description Godot version
master Current development branch Godot 4.3-dev6+

Overview

MVN Animate is a Motion Capture package by Movella.

Usage

The following steps show how to add the Godot MVN tracker to a project.

Enable Addon

The addon files needs to be copied to the /addons/godot_mvn_tracker folder of the Godot project, and then enabled in Plugins under the Project Settings: Enable Plugin

Plugin Settings

The plugin has numerous options to control behavior:

Plugin Options

Option Description
Tracking - Position Mode Controls the position of the character:
- Free = Free Movement
- Calibrate = Calibrate to origin on first frame
- Locked = Lock to origin
Tracking - Body Tracker Name Name for the XRBodyTracker
Network - Udp Listener Port Port to listen for MVN network packets

Character Importing

The character model must be in Godot Humanoid format. This can be achieved in the importer settings by retarteting the skeleton to the SkeletonProfileHumanoid bone map:

Character Import

Body Driving

The body is positioned using an XRNode3D node configured to track the character body:

XRNode3D

The body is posed using an XRBodyModifier3D skeleton modifier:

XRBodyModifier3D

Note that the Body Tracker name should match the Body Tracker Name specified in the Plugin Settings.

MVN Animate

MVN Animate must be configured for network streaming, which is an option only in the MVN Animate Plus and MVN Animate Pro licenses.

MVN Animate

Option Description
Host Host address (127.0.0.1 for localhost)
Port UDP Port 9763 (default)
Protocol UDP
Datagram Selection Position + Orientation (Quaternion)

Licensing

Code in this repository is licensed under the MIT license.

About this repository

This repository was created by Malcolm Nixon

It is primarily maintained by:

For further contributors please see CONTRIBUTORS.md