Commit Graph
24 Commits
Author SHA1 Message Date
doloro 2c3b670ab9 Add animation store for pre-made clips
aac.AnimationStore(folder) seeds a clip from an existing .anim asset and
returns a normal ClipBuilder, so pre-made clips work anywhere generated
clips do and can still be edited (looping, keyframes, toggles, blend
shapes). The Unity side clones the asset into the container and applies
the script's changes to the clone, leaving the original untouched.

- ClipData gains optional source; looping becomes Option<bool> so an
  untouched store clip keeps the asset's own looping setting.
- Add rust/examples/animation_store.rhai, a worked store example.
2026-09-18 14:52:02 +01:00
doloro 42a1234e7f shity basic one shot 2026-09-18 14:01:10 +01:00
doloro 5851077659 new read me 2026-09-18 13:06:03 +01:00
Haï~ ea45f7ef1a Remove UPM installation instructions:
The installation instructions incorrectly assumed that the state of the main branch is in a usable state, but this is a false assumption as all repositories in hai-vr are only tested to be working on release tags.
Redirect to the documentation website instead.
2026-01-31 15:18:07 +01:00
yewnyx c87904fbbb Add git url installation note for Unity projects to README (#52). 2025-06-02 02:19:38 +02:00
Haï~ 735afd669f Update README.md 2024-08-21 04:42:34 +02:00
Haï~ c54c377202 Update README.md 2024-06-30 14:14:35 +02:00
Haï~ da31c8d22c Update broken link in README.md 2023-10-20 00:03:53 +02:00
Haï~ 1a559b6251 Allow any object to be an asset container:
- Asset containers are no longer restricted to the AnimatorController class when using the new GenericAssetContainer configuration field
- The asset container will not be used if it is not a persistent asset
2023-10-03 23:46:50 +02:00
Haï~ c07e47ca48 (PACKAGING) Change the folder structure for package format 2023-10-02 04:53:27 +02:00
Haï~ 7369355a76 Make some functions in AacFlLayers return themselves instead of void:
- AacFlLayer.OverrideValue(...) overloads now returns itself.
- AacFlLayer.WithAvatarMask(...) now returns itself.
- AacFlLayer.WithAvatarMaskNoTransforms(...) now returns itself.
- AacFlLayer.ResolveAvatarMask(...) now returns itself.
- Other void-returning functions in AAC do not return themselves because:
  - Some of them are meant to be used for cleanup purposes rather than for build purposes, so returning void here creates a usability gap to draw attention.
  - The ones used in animation keyframes marks it as the last operation that consumes the chain, as further calls would not be logical (i.e. .WithOneFrame(...).WithAnimationCurve(...))
2022-05-10 20:02:55 +02:00
Haï~ 8bbf482210 Add AacFlState.PoseSpaceEntered(...), PoseSpaceExited, PoseSpaceEnteredPercent, and PoseSpaceExitedPercent:
- Add AadFlState.PoseSpaceEntered(...) with 0-duration default overload.
- Add AadFlState.PoseSpaceExited(...) with 0-duration default overload.
- Add AadFlState.PoseSpaceEnteredPercent(...)
- Add AadFlState.PoseSpaceExitedPercent(...)
2022-05-10 20:02:55 +02:00
Haï~ 508b458fba Add AacFlState.WithCycleOffset(...), WithCycleOffsetSetTo, and WithSpeedSetTo:
- Add AacFlState.WithCycleOffset(...)
- Add AacFlState.WithCycleOffsetSetTo(...) which takes a fixed value.
- Add AacFlState.WithSpeedSetTo(...) which takes a fixed value. AacFlState.WithSpeed(...) already exists.
2022-05-10 20:02:55 +02:00
Haï~ f846228d82 Add AacFlTransition.WithInterruption(...):
- Add AacFlTransition.WithInterruption(...). This may replace AacFlTransition.WithSourceInterruption(...)
2022-05-10 20:02:55 +02:00
Haï~ 4d6aa08314 Add AacFlState.PlayableEnables(...), PlayableDisables, and PlayableSets:
- Add AacFlState.PlayableEnables(...) with 0-duration default overload.
  This function is exposed with the assumption that Playable Layer Control would often be used with a all-or-nothing weight.
- Add AacFlState.PlayableDisables(...) with 0-duration default overload.
- Add AacFlState.PlayableSets(...) to control everything about the behaviour.
2022-05-10 20:02:55 +02:00
Haï~ 48855de6ce Document the use of WithDefaultState:
- Document how WithDefaultState differs from Entry transitions.
2022-03-20 05:19:04 +01:00
Haï~ c7a6684e75 Fix Animates documentation was incorrect:
- Fix Animates documentation used to describe animating the enabled property of a Component, which was not the case.
2022-03-20 05:19:04 +01:00
Haï~ 2ea5b42092 Add AacFlSettingCurve.WithAnimationCurve(...) to animate using traditional AnimationCurve objects:
- Add WithAnimationCurve to animate using traditional AnimationCurve objects
2022-03-20 05:19:04 +01:00
Haï~ 573fc7eaef Add AacFlLayer.WithDefaultState(...) to change the default state:
- Add WithDefaultState to change the default state of a layer
2022-03-20 05:19:04 +01:00
Haï~ e31fbb1586 Update README.md 2022-03-10 21:45:33 +01:00
Haï~ 010f2f17f5 Add missing Driving overloads:
- DrivingIncreases for int
- DrivingDecreases for int
- DrivingRandomizesLocally for bool
- Fix documentation
2022-03-07 13:36:25 +01:00
Haï~ 739292efdb Add Introduction 2022-02-28 15:24:37 +01:00
Haï~ 276c8d3ddf Add Reference 2022-02-28 15:24:37 +01:00
Haï~ 58c51926a7 Add Animator As Code 2022-02-27 20:16:34 +01:00