This repository contains a Rokoko packet decoder for Godot that can drive avatars through the XR Tracker system.
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+ |
Rokoko Studio is a Motion Capture package by Rokoko.
The following steps show how to add the Godot Rokoko tracker to a project.
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:
The plugin has numerous options to control behavior:
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 |
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:
The body is positioned using an XRNode3D node configured to track the character body:
The body is posed using an XRBodyModifier3D node skeleton modifier:
Note that the Body Tracker name should match the Body Tracker Name specified in the Plugin Settings.
The face is driven using an XRFaceModifier3D node configured to drive the facial blendshapes of the character:
Note that the Face Tracker name should match the Face Tracker Name specified in the Plugin Settings.
Rokoko Studio must be configured for network streaming, which is an option only in the Plus, Pro, and Enterprise subscriptions.
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) |
Code in this repository is licensed under the MIT license.
This repository was created by Malcolm Nixon
It is primarily maintained by:
For further contributors please see CONTRIBUTORS.md