|
| 1 | +--- |
| 2 | +sidebar_position: 512 |
| 3 | +--- |
| 4 | + |
| 5 | +# Vicon Shogun |
| 6 | + |
| 7 | +:::info |
| 8 | +This feature is only available in [Warudo Pro](../pro). |
| 9 | +::: |
| 10 | + |
| 11 | +Body tracking via [Vicon Shogun](https://www.vicon.com/software/shogun/). Requires access to a [Vicon](https://www.vicon.com) optical tracking system. |
| 12 | + |
| 13 | +In addition to character tracking, prop tracking is also supported. You can, for example, stream a tracked camera, handheld prop, or stage marker from Shogun and animate the corresponding Warudo prop or camera in real time. |
| 14 | + |
| 15 | +## Setup |
| 16 | + |
| 17 | +In Warudo, go to **Menu → Settings → Vicon**. Confirm the **Server Address** points to the PC running Shogun (for example `192.168.1.50:801`). If Warudo and Shogun run on the same machine, you can keep the default `localhost:801`. |
| 18 | + |
| 19 | +Set **Enabled** to Yes. You should see a status message that says "Connected to Vicon Shogun" once Warudo establishes the connection. |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +### Character Tracking |
| 24 | + |
| 25 | +To connect Vicon Shogun to Warudo, use the [Onboarding Assistant](../tutorials/readme-1) (or run **Character → Setup Motion Capture**) and select **Vicon Shogun** for pose tracking. After the setup is complete, you should be able to see a **Vicon Subject Receiver** asset in your scene. Make sure the **Vicon Subject Name** field matches the one in Shogun. |
| 26 | + |
| 27 | +:::tip |
| 28 | +If your Warudo character has different bone names than the ones used in the Shogun skeleton, use **Override Bone Names** on the **Vicon Receiver** asset to map specific humanoid bones to the names exposed by Shogun. |
| 29 | +::: |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +### Prop Tracking |
| 34 | + |
| 35 | +In Warudo, create a **Vicon Prop Receiver** asset. Set **Vicon Prop Name** to the rigid body's label in Shogun Live, and choose the Warudo prop or camera under **Target Asset**. |
| 36 | + |
| 37 | +:::info |
| 38 | +The hierarchy of the Warudo prop file must match the one in Shogun, and the root transform must be named `root`. Otherwise, Warudo will generate a root transform, but the child transforms may not be fully mirrored. |
| 39 | +::: |
| 40 | + |
| 41 | +:::tip |
| 42 | +To access the tracking data in blueprints, you can use the **Get Vicon Subject Receiver Data** or **Get Vicon Prop Receiver Data** nodes. |
| 43 | +::: |
| 44 | + |
| 45 | +## Advanced Options |
| 46 | + |
| 47 | +* **Root Rotation Offset**: Applies a static offset if your character or prop faces a different forward direction than the Vicon coordinate frame. Usually you shuold not need to change this setting. |
| 48 | +* **Use Pre Fetch**: Requests buffered frames from Vicon Shogun to smooth latency-sensitive setups. |
| 49 | + |
| 50 | +## Frequently Asked Questions |
| 51 | + |
| 52 | +Please refer to [Overview](overview#FAQ) and [Customizing Pose Tracking](body-tracking#FAQ) for common questions. |
| 53 | + |
| 54 | +### The status says "Failed to connect to Vicon system". |
| 55 | + |
| 56 | +Ensure the Shogun PC and the Warudo PC are on the same subnet. Double-check the **Server Address** and confirm that port `801` is open on your firewall. |
| 57 | + |
| 58 | +### My character snaps into incorrect poses. |
| 59 | + |
| 60 | +Confirm that the subject in Shogun uses a skeleton compatible with your Warudo character (matching bone hierarchy and zeroed T-pose rotations). When necessary, use **Override Bone Names** to align joint names and **Root Rotation Offset** to match coordinate frames. |
| 61 | + |
| 62 | +<AuthorBar authors={{ |
| 63 | + creators: [ |
| 64 | + {name: 'HakuyaTira', github: 'TigerHix'}, |
| 65 | + ], |
| 66 | + translators: [ |
| 67 | + ], |
| 68 | +}} /> |
| 69 | + |
0 commit comments