ChilloutVR Built-In Animation Parameters: Difference between revisions

From VR Wiki
(Butts)
 
No edit summary
Line 6: Line 6:
!Name
!Name
!Type
!Type
!Scale
!Notes
!Notes
|-
|-
|MovementX
|MovementX
|float
|float
|Movement on the X axis.
|[0,1)
|Movement on the X axis. +Right -Left
|-
|-
|MovementY
|MovementY
|float
|float
|Movement on the Y axis.
|[0,1)
|Movement on the Y axis. +Forwards -Back
|-
|-
|Grounded
|Grounded
|boolean
|boolean
|Whether the character is on the ground?
|
|Whether the character is on the ground.
|-
|-
|Emote
|Emote
|float (?!)
|float (?!)
|Which emote to play.
|[0,8]
|Which emote to play. Values are real integers, despite being a float.
|-
|-
|CancelEmote
|CancelEmote
|trigger
|trigger
|
|When to cancel running emotes.
|When to cancel running emotes.
|-
|-
|GestureLeft
|GestureLeft
|float (?!)
|float (?!)
|Which gesture is selected on the left hand.
|[-1,6]
|Which gesture is selected on the left hand. Values are real integers.
|-
|-
|GestureRight
|GestureRight
|float (?!)
|float (?!)
|Which gesture is selected on the right hand.
|[-1,6]
|Which gesture is selected on the right hand. Values are real integers.
|-
|-
|Toggle
|Toggle
|float
|float
|Which toggles are enabled?
|[0,7]
|Which action state is enabled.
|-
|-
|Sitting
|Sitting
|boolean
|boolean
|
|Whether the player is sitting.
|Whether the player is sitting.
|-
|-
|Crouching
|Crouching
|boolean
|boolean
|
|Whether the player is crouching.
|Whether the player is crouching.
|-
|-
|Flying
|Flying
|boolean
|boolean
|
|Whether the player is flying.
|Whether the player is flying.
|-
|-
|Prone
|Prone
|boolean
|boolean
|
|Whether the player is lying prone.
|Whether the player is lying prone.
|}
|}

Revision as of 23:20, 31 August 2022

The following is a list of animator parameters that CVR provides.

Warning: CVR has just moved to Unity 2021, so your stuff may be broken. -- 11:24, 26 July 2023 (UTC)(Edit)
Note: Accurate for CCK 3.3 -- N3X15 (talk) 18:19, 4 August 2022 (CDT)
ChilloutVR Built-In Animator Parameters
Name Type Scale Notes
MovementX float [0,1) Movement on the X axis. +Right -Left
MovementY float [0,1) Movement on the Y axis. +Forwards -Back
Grounded boolean Whether the character is on the ground.
Emote float (?!) [0,8] Which emote to play. Values are real integers, despite being a float.
CancelEmote trigger When to cancel running emotes.
GestureLeft float (?!) [-1,6] Which gesture is selected on the left hand. Values are real integers.
GestureRight float (?!) [-1,6] Which gesture is selected on the right hand. Values are real integers.
Toggle float [0,7] Which action state is enabled.
Sitting boolean Whether the player is sitting.
Crouching boolean Whether the player is crouching.
Flying boolean Whether the player is flying.
Prone boolean Whether the player is lying prone.