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
+28-13Lines changed: 28 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,14 @@ Please contribute using [GitHub Flow](https://guides.github.com/introduction/flo
17
17
18
18
For guidance writing new documents for CCK components, please follow our [style guide](https://github.com/ChilloutVR-Team/docs/blob/master/CONTRIBUTING.md).
19
19
20
-
### ABI employee's / ABI internal contributors
20
+
### CVR employee's / CVR internal contributors
21
21
22
22
For any changes, make a feature branch.
23
23
This means a branch named like `feature/add-cvravatar-feature-docs` with a reasonable short name of the changes you are doing there.
24
24
When you are done with your changes, merge them into develop.
25
25
26
26
### Releases
27
-
Release are made by ABI staff.
27
+
Release are made by CVR staff.
28
28
29
29
Additional notes:
30
30
For deploying to production merge develop into master, and grab the latest build artifact from teamcity after it has been built.
@@ -33,25 +33,40 @@ For deploying to production merge develop into master, and grab the latest build
33
33
34
34
We recommend previewing the site before submitting your PR. To preview the site, follow the instructions below:
35
35
36
-
### Install python, dependencies and mkdocs
36
+
### Install python, poetry, and project dependencies
37
37
38
38
#### Windows
39
39
40
-
1. Install [CPython](https://python.org)
41
-
2. Open a Terminal (cmd or powershell) in the docs folder
42
-
3. Run `.\setup.bat`
40
+
**Automatic:**
43
41
44
-
#### Linux
42
+
1. Right-click the file `setup.ps1` and pick `Run with PowerShell`
43
+
2. Look at the console to see if there were errors, if not, we're good :)
| GestureLeft | Float |[-1.0 … 6.0]| Current gesture state of the left hand<br>Fist uses analog weighting in [0.0 … 1.0]<br>[Gesture Values Mapping](#gesture-values)|
16
+
| GestureRight | Float |[-1.0 … 6.0]| Current gesture state of the right hand<br>Fist uses analog weighting in [0.0 … 1.0]<br>[Gesture Values Mapping](#gesture-values)|
17
+
| GestureLeftIdx | Int |[-1 … 6]| Discrete left-hand gesture value without analog weighting<br>[Gesture Values Mapping](#gesture-values)|
18
+
| GestureRightIdx | Int |[-1 … 6]| Discrete right-hand gesture value without analog weighting<br>[Gesture Values Mapping](#gesture-values)|
19
+
| MovementX | Float |[-1.0 … 1.0]| Horizontal movement input value |
20
+
| MovementY | Float |[-1.0 … 1.0]| Vertical movement input value |
21
+
| Grounded | Bool |[false, true]| Indicates if the player is on the ground |
22
+
| Emote | Float |[0.0 … 8.0]| Target emote to play. Resets to `0.0` within `0.1 second of being set |
23
+
| CancelEmote | Trigger | — | Trigger to cancel the current emote |
24
+
| Toggle | Float |[0.0 … 7.0]| Currently selected toggle state |
25
+
| Sitting | Bool |[false, true]| Indicates if the player is sitting |
26
+
| Crouching | Bool |[false, true]| Indicates if the player is crouching |
27
+
| Prone | Bool |[false, true]| Indicates if the player is prone |
28
+
| Flying | Bool |[false, true]| Indicates if the player is flying |
29
+
| Swimming | Bool |[false, true]| Indicates if the player is swimming |
30
+
| IsLocal | Bool |[false, true]| Indicates if the avatar is the local player |
31
+
| DistanceTo | Float |[0.0 … ∞]| Distance to the local player in meters. Defaults to `-1.0` until updated |
32
+
| VisemeIdx | Int |[0 … 14]| Index value representing the current viseme<br>[Viseme Values Mapping](#viseme-index-values)|
33
+
| VisemeLoudness | Float |[0.0 … 1.0]| Loudness level for the current viseme |
34
+
| IsFriend | Bool |[false, true]| Indicates if the observed avatar is a friend |
35
+
| VelocityX | Float |[0.0 … ∞]| Velocity along the `X` axis |
36
+
| VelocityY | Float |[0.0 … ∞]| Velocity along the `Y` axis |
37
+
| VelocityZ | Float |[0.0 … ∞]| Velocity along the `Z` axis |
38
+
| AFK | Bool |[false, true]| Indicates if the player is AFK.<br>*Only available in nightly builds atm*|
- Fist is analog (range from `0.0` to `1.0` depending on trigger press)
84
+
- Rock n Roll also includes the flip-off gesture (flipping the bird)
85
+
- Parameters are **case-sensitive**
86
+
- You are unable to write to these parameters using any CCK component as they are considered readonly, but you can read them using the Animator Driver or Scripting API
87
+
- Core Parameter types can be mismatched, e.g., you can define `AFK` as an int parameter instead of a bool in your animator, and it will be 0 or 1 depending on the AFK state
0 commit comments