You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-19
Original file line number
Diff line number
Diff line change
@@ -7,38 +7,38 @@ Download the Asset package at [releases](https://github.com/qualisys/Qualisys-Un
7
7
8
8
## Example Usage
9
9
Character animation using QTM Real-Time Output
10
-
1. In your Unity project, select *Import Package > Custom Package...* and import this package.
11
-
2. Double click the file DemoSkeletonScene.qtm to launch QTM.
12
-
3. In QTM. Start streaming by pressing ctrl+shift+space or selecting *Play > Play with Real-Time Output*
13
-
4. In Unity, open the scene DemoSkeletonScene.
14
-
5. Press play.
10
+
1. In your Unity project, select **Import Package** > **Custom Package...** and import this package.
11
+
2. Double click the file **DemoSkeletonQtm** to launch QTM.
12
+
3. In QTM. Start streaming by pressing **Ctrl** + **Shift** + **Space**or select **Play** > **Play with Real-Time Output**
13
+
4. In Unity, open the scene **DemoSkeletonScene**.
14
+
5. Press **Play**.
15
15
6. Connect to localhost using the right side menu.
16
-
Note that you can also use the editor window to connect to QTM. It's located under *Window > Qualisys > RTClient*
16
+
Note that you can also use the editor window to connect to QTM. It's located under **Window** > **Qualisys** > **RTClient**
17
17
18
18
## Contents
19
19
20
20
### Components
21
21
22
22
The scripts below can be attached to GameObjects for streaming data from QTM. They are built using the [Qualisys Real-time Client SDK for .NET](https://github.com/qualisys/RTClientSDK.Net).
23
23
24
-
**RTSkeleton.cs* - Add this script to use qtm skeleton data to drive mecanim humanoid character in Unity.
25
-
**RTMarker.cs* - Add this script to a Game object to set the position of game object from a specific labeled marker name.
26
-
**RTUnlabeledMarker.cs* - Add this script to a Game object to set the position of game object from a specific unlabeled marker id.
27
-
**RTMarkerStream.cs* - Add this script to a Game object to visualize marker positions (using spheres) streamed from Qualisys Track Manager.
28
-
**RTBones.cs* - Add this script to a Game object to visualize user defined bones (using line gizmos).
29
-
**RTObject.cs* - Add this script to a Game object to get 6DOF object positions and rotations streamed from Qualisys Track Manager.
30
-
**RTObjectMarkers.cs* - Add this script to Game objects of a 6DOF object body markers.
31
-
**RTGazeStream.cs* - Add this script to visualize gaze vectors as lines.
32
-
**RTAnalog.cs* - Example script to display how to get data from a specific analog channel (using name).
33
-
**RTAnalogIMU.cs* - Add this script and set analog channel names for IMU data (X, Y, Z, W).
24
+
***RTSkeleton.cs** - Add this script to use qtm skeleton data to drive mecanim humanoid character in Unity.
25
+
***RTMarker.cs** - Add this script to a Game object to set the position of game object from a specific labeled marker name.
26
+
***RTUnlabeledMarker.cs** - Add this script to a Game object to set the position of game object from a specific unlabeled marker id.
27
+
***RTMarkerStream.cs** - Add this script to a Game object to visualize marker positions (using spheres) streamed from Qualisys Track Manager.
28
+
***RTBones.cs** - Add this script to a Game object to visualize user defined bones (using line gizmos).
29
+
***RTObject.cs** - Add this script to a Game object to get 6DOF object positions and rotations streamed from Qualisys Track Manager.
30
+
***RTObjectMarkers.cs** - Add this script to Game objects of a 6DOF object body markers.
31
+
***RTGazeStream.cs** - Add this script to visualize gaze vectors as lines.
32
+
***RTAnalog.cs** - Example script to display how to get data from a specific analog channel (using name).
33
+
***RTAnalogIMU.cs** - Add this script and set analog channel names for IMU data (X, Y, Z, W).
34
34
35
35
### Helpers
36
36
37
37
These are helper scripts used to communicate with QTM and add functionality to the Unity user interface.
38
38
39
-
**RTClient.cs* - Main script that handles the communication between Qualisys Track Manager and Unity.
40
-
**RTGUI.cs* - This script is responsible for handling the Window->Qualisys->RTClient option that shows the QTM Streaming window where the user can select which Qualisys Track Manager to connect to.
41
-
**RTGUIInGame.cs* - This script can be used to show a QTM connection user interface when in Game mode.
39
+
***RTClient.cs** - Main script that handles the communication between Qualisys Track Manager and Unity.
40
+
***RTGUI.cs** - This script is responsible for handling the Window->Qualisys->RTClient option that shows the QTM Streaming window where the user can select which Qualisys Track Manager to connect to.
41
+
***RTGUIInGame.cs** - This script can be used to show a QTM connection user interface when in Game mode.
0 commit comments