1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|

A tool that will help you preview and edit your avatar animation directly in Unity.
Available for both VRChat SDK 2.0 and SDK 3.0, in Unity 2018 or 2019.
## How To Use (SDK 3.0)
### Download the UnityPackage
You can download the UnityPackage from the latest release tab.<br>
[[Or click here to go to the latest release](https://github.com/BlackStartx/VRC-Gesture-Manager/releases/latest)]
From there you can find the link for the UnityPackage at the bottom of the page, in the **Assets** tab.<br>
### Import on Unity
Once downloaded, import the UnityPackage directly in your project,
and you will find a folder called "GestureManager" in your **Assets** directory.

Drag and drop the prefab that you find in that folder in to the scene and you're done.
Whenever you want to test your avatar hit PlayMode and select the GestureManager from the Hierarchy!
<br>
If there are no errors the GestureManager will take control of your Avatar and you can start testing~ ♥
You can test Left and Right hand gesture with the buttons on top, and you can test 3.0 Expressions from
the RadialMenu bellow.

### Option Button!
The Option button in the RadialMenu contains a lot of sub-category that helps you change parameters usually
controlled by the VRChat client.

In the **Locomotion** category you can preview animation like:
- Walking
- Running
- Crouch
- Prone
- Falling

In the **States** category you can preview AFK, Seated, IK and T Pose animations.
In the **Tracking** category you can change the number of Tracking Point of your Avatar as well as the
VRMode parameter.
In the **Extra** category you can change Gesture Weights, MuteSelf, IsLocal and InStation parameters.
> If a button have a gray text it means that the parameter is not used by your avatar.
### Edit-Mode Feature
In the Option Menu you can find a button called: Edit-Mode.
Clicking that button will enable the Edit-Mode feature and will create a clone of your avatar
giving him all the animation of your VRChat controller layers.

Since the avatar have all the animation of your animators, you can edit them by going in to the Animation tab and selecting
your avatar from the hierarchy window. (Or by clicking the blue "select your avatar" text under the RadialMenu)
Once there you can select the animation you want by clicking the dropdown menu. <br>
If you can't find it, look for the text `[Select Your Animation!]` and click it.
From here, you can edit your animation as you usually do, by clicking the record button or by inserting keyframe manually.

### Avatar Debug Menu
The Debug tab of the Gesture Manager is where you can check lots of information about the current state of your avatar.
This window contains: Animator Parameters, Tracking Controls, Animation Controllers Weight, Animator States and Layer
Weights as well as Locomotion and Pose Space current values.
If you need to constantly check for updates of your avatar while using the Gesture Manager features you can undock the window by simply
clicking the `Undock Debug Window` button bellow.
This will create a floating window that you can move independently.
You can maximize it on another screen too, if you wish.
You can put the floating debug window wherever you want and use the Gesture Manager as you usually do.
> The Debug Window is responsive, it will change the way content displayed inside of it depending of the width of the window.
#### Debug Window Example

### Osc Debug Menu
In the Debug tab you can enable the integration for OSC data packages.
> The port you choose must be available for being listened to.
>
> This mean that if VRChat is currently listening on those ports the simulation can't start.
You can customize the port (and the address) directly from the OSC Debug Panel before starting the debug mode.
For a correct simulation of the behaviour of your Avatar trough Unity you should start the debugger on the same port
you use on your VRChat client, and load your custom settings from your LocalLow VRChat folder automatically with
the button bellow.
If you don't load any custom setting the simulation will start listening on a wide-range of address.
This gif bellow shows the GestureManager receiving and processing data from the VRChat client itself.<br>
(It's simply achieved by inverting the listening/receiving ports)

#### Sending OSC messages
You can send custom packets as well using the "Send" tab while using the OSC Debug.
This can be useful to test how your application is handling OSC packets and for debugging purpose.
Simply set the OSC address string and populate the message parameters with the + button on the right.<br>
You can switch between OSC Messages and OSC bundles by clicking the "Bundle" or "Message" buttons.

### Knew Issues
♥ All the knew issues since the release of 3.0 has been addressed! ♥
## How To Use (SDK 2.0)
### Download the right UnityPackage
If you're using the VRChat SDK 2.0 download the 2.0 UnityPackage from the release tab.<br>
[[Or click here to go to the 2.0 release](https://github.com/BlackStartx/VRC-Gesture-Manager/releases/tag/v2.0)]
> GestureManager 3.0 and newer releases are still compatible with VRChat SDK 2.0 but using the 2.0 release is recommended.
### Import on Unity
You can now import the UnityPackage directly in your project,
and you will find a folder called "GestureManager" in your **Assets** directory.

Drag and drop the prefab that you find in that folder in to the scene and you're done.
Whenever you want to test your avatar hit PlayMode and select the GestureManager from the Hierarchy!
<br>
If there are no errors the GestureManager will take control of your Avatar and you can start testing~ ♥
You can test Left and Right hand gestures by using the toggles in the Inspector window,
each gesture has the name of the animation file its related.

## Special Thanks~
Thanks to every friend and person who helped or supported me during the development of this tool~ ♥
- Stack_
- ♡ GaNyan ♡
- Nayu
- Hiro N.
- [emymin](https://github.com/emymin/)
- Ahri~
- [lindesu](https://github.vrlabs.dev/)
And special thanks to:
- You~ ♥
For any feedback fell free to contact me on Discord: BlackStartx#6593
Thanks again for using my script~ ♥<br><br>
|