Skip to main content

Animation Editor

This guide provides detail on how the animation editor works and how to use it.

BardTreeLtd/Civil AI/Animation Editor

What is the Animation Editor​

It is used to create core animation groups, which are applied to agents at runtime depending on which one's requirements they meet.

Core Animation Groups​

A core animation group is the set of animations that form an agent's basic movement.

NameDescription
WalkUsed when the agent is moving
IdleUsed when the agent is still
RotateUsed when the agent is turning to face something

The editor works on the Core Selector set in the Animation tab of module settings. Projects made before 0.15.0 have theirs at Resources/CIVIL-AI-SYSTEM/AnimationSystem/Core/Core, and that is still found if the setting is empty.

Ordering​

The order of the list matters. Going from the top, the first group whose requirements the agent meets is applied and the rest are skipped. This keeps the check cheap and means a group with no requirements should go last, as a fallback.

A group with fewer clips than the one above it does not inherit the missing ones. An agent taking a group with no rotate clip idles when it turns.