Skip to content

Malcolmnixon/GodotXRRokokoTracker

Repository files navigation

Godot XR Rokoko Tracker

GitHub forks GitHub Repo stars GitHub contributors GitHub

This repository contains a Rokoko 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-rc2+

Overview

Rokoko Studio is a Motion Capture package by Rokoko.

Usage

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

Enable Addon

The addon files needs to be copied to the /addons/godot_rokoko_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 - Face Tracker Name Name for the XRFaceTracker
Tracking - Body Tracker Name Name for the XRBodyTracker
Network - Udp Listener Port Port to listen for Rokoko 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 node skeleton modifier:

XRBodyModifier3D

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

Face Driving

The face is driven using an XRFaceModifier3D node configured to drive the facial blendshapes of the character:

XRFaceModifier3D

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

Rokoko Studio

Rokoko Studio must be configured for network streaming, which is an option only in the Plus, Pro, and Enterprise subscriptions.

Rokoko Studio Streaming

Option Description
Protocol Custom Streaming
Forward IP Host address (127.0.0.1 for localhost)
Port UDP Port 14043 (default)
Data Format Json (Rokoko JSON v3.0)

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