Animation system for actor
This overview introduces the structure of the animation system and provides links to detailed documentation for each component.
Animation System overview
The animation system in Gem RTS handles animation control and switching for game entities with complex skeletal animation, such as humans, animals, or robots. It consists of two main components:
Finite State Machine (FSM) — ensures correct transitions between states based on requests from external control systems such as AI, player commands, game physics, and others.
State handler in the engine provides feedback from the FSM to other game systems and manages animations and effects according to the unit’s active state. Most animation selection rules are defined in configuration files of the Animation Selector.


Explanation of the purpose and working principles of the FSM in the Gem RTS engine, including its structure and main configuration components.

Explanation of how the Animation Selector works: configuration structure for selecting animations based on FSM state and other parameters.

A guide to debugging FSM and animations in the editor.
Last updated