This is an experimental modified version of av3-animator-as-code for VRChat World SDK. You can use "Animator As Code" notation to create animators on VRChat world creations.
We call the original "Animator As Code" as AAac
in this document for short.
In the same way, we call this modified version as WAac
.
- Replace AvatarDescriptor with Animator
- AAac uses
AvatarDescriptor
as a kind of "binder" that holds multiple animators. - WAac replaces it with single
Animator
. - You have to use
Animator
instead ofAvatarDescriptor
instruct AacConfiguration
on the configuration.
- AAac uses
- No "Playable Layers"
- So,
CreateMainFxLayer()
,CreateMainGestureLayer()
, ... methods are removed. - Instead, WAac introduces
CreateMainLayer()
. - Same on Supporting Layers, use
CreateSupportingLayer(string suffix)
instead.
- So,
- World SDK doesn't support
VRCAvatarParameterDriver
- So, Driver related methods on
AacFlState
are removed
- So, Driver related methods on
- World SDK doesn't support
VRCAnimatorTrackingControl
- So, Tracking related methods on
AacFlState
are removed.
- So, Tracking related methods on
- World SDK doesn't support
VRCAnimatorLocomotionControl
- So, Locomotion related methods on
AacFlState
are removed.
- So, Locomotion related methods on
- WAac defines
WORLD_AAC
on top of each.cs
files if needed. WAac uses this preprocessor symbol to denote modified parts clearly. - Avatars 3.0 parameters (for instance
AacFlFloatParameter GestureLeftWeight
) will work on WAac. But they are just some of animation parameters. Theere are No special handlings in World SDK. - AacVrcAssetLibrary is still available on WAac. But it uses VRChat Avatar SDK's example assets internally. It won't work without them.
- Currently WAac seem to have no dependancies on VRChat SDK while it's not an intented goal. It's just "as a result",
Replaced with new one:
- AacExampleContainer.controller / WorldAacExampleContainer.controller
- AacExampleFX.controller / WorldAacExampleController.controller
- AnimatorAsCodeExampleScene.unity / WorldAnimatorAsCodeExampleScene.unity
Removed:
- AacExampleMenu.asset
- AacExampleParams.asset
- AacExampleCubemap.exr
MIT License.
Original works by Haï~ (@vr_hai github.com/hai-vr) are under MIT License. See LICENSE-original file.