Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 3.52 KB

Avatar Creation info.md

File metadata and controls

58 lines (41 loc) · 3.52 KB

Avatar Creation Info

Default Avatar Parameters

Name Type
MovementX Float
MovementY Float
Grounded Bool
Emote Int
CancelEmote Bool
GestureLeft Int
GestureRight Int
Toggle Int
Sitting Bool
Crouching Bool
Prone Bool
Flying Bool

Thanks to kafeijao, for the tools to see this info in a quick and easy way.


bHaptics

Setup restrictions:

  • The game object that has the CVR Haptic Area Chest on it, MUST be fully upright compared to world space (not the bone it is on)image
  • You can't toggle the game object (if you do it won't work)
  • You can't re-size the game object (relative to your avatar), size changes will get ignored.
  • you should not re-size the game object that has the haptics component on it using the transforms section, instead use the sizing options in the the script component. Also it is advisable to create the game object at the root of you project hierarchy fully configure/position it, then drag it to the chest bone on the avatar (do not make changes to any variables on it once you have done this)

Game Object Dropdown

In order to make a game object dropdown such as this

image

function correctly, you must go to the end of the list of the Advanced Settings section and click the CreateAnimator then the Attach created Override to Avatar, this should link up all the relevant animations.

Once setup it should show up in the Advanced Avatars section on the menu eg.
image
image
image
image

Issues

Issue: some animations are not working as expected
Potential fix(s):

  1. If you remove a section that uses a generated animator override set, its a good idea to delete all the generated animator override/animator/animation files and let them be recreated. The files to remove should be at the following path Assets/AdvancedSettings.Generated/<avatarname>
    image
  2. Clear and re-add parameters in animation paths (commonly is needed when you swap a variable's type ie float>bool), note you can test this in editor by pressing the play button at the top of the unity interface and changing the parameter state in the animator to see if it responds correctly)). The console output in play mode can help in finding these 'broken' links image
  3. Check for multiples of the same variable in the 'Advanced settings' section of the 'CVR Avatar' block, if there are duplicates there it will break the AAS menu and could impact animation behavior. If you have duplicates remove them and then follow fix 1 to clear the problem.