Open ImmutableOctet opened 4 months ago
This would be something like:
set_animation("animation_name_here"_hs)
This could also be extended to support setting different animation layers:
set_animation("upper_body_animation_here"_hs, AnimationLayer::UpperBody);
In addition to a set_animation API, a really convenient option would be an assignment-based wrapper interface:
set_animation
animation = "animation_name_here"_hs; animation.upper_body = "upper_body_animation_here"_hs; if (auto some_other_entity = co_await get_entity("some_other_entity_name"_hs)) { if (some_other_entity.animation == "some_animation"_hs) { // ... } }
This would be something like:
This could also be extended to support setting different animation layers:
In addition to a
set_animation
API, a really convenient option would be an assignment-based wrapper interface: