Notes:
A state machine is a mathematical model that represents the behavior of a system as a set of states and transitions between those states. In the context of computer programming, a state machine is a programming construct that is used to implement the behavior of a system or component as a set of states and transitions.
In the Unity game engine, state machines are used to implement the behavior of game objects and characters. For example, a state machine could be used to implement the behavior of an enemy character in a game, with different states representing different behaviors (such as idle, moving, attacking, and dying) and transitions between those states representing changes in the character’s behavior (such as moving to a new location, attacking the player, or being killed).
State machines in Unity can be implemented using a variety of approaches, including scripting, visual scripting, and behavior trees. These approaches allow game developers to specify the behavior of game objects and characters in a flexible and modular way, allowing them to easily reuse and modify the behavior of these objects and characters in different contexts.
Overall, state machines are a valuable tool for implementing the behavior of game objects and characters in the Unity game engine, allowing game developers to specify and modify the behavior of these objects and characters in a flexible and modular way.
References:
- Mecanim Humanoids – Unity Blog (26 May 2014)
See also:
100 Best State Machine Videos | 100 Best Unity3d Lipsync Assets | 100 Best Unity3d VR Assets | Unity3d & Multimodal Agents 2018 | State Machine & Dialog Systems 2018 | Unity3d & Dialog Systems
- 2048 Starter Kit 3D
docs | android features: * unity ads. * state machines to control different game states. * very clean code that is easy to follow. * nice 3d effects & all setup …
- 2D Roguelike
i jump around from tutorial to tutorial a lot… but this time around i got a lot out of this. i’m learning about the animation state machine… where flow control happens… …
- 360 Tour Template
jan 21… 2019 – finite state machine. (not enough ratings). $4.99 · quick look. digital salmon. complete 360° tour. (22). $240 · quick look. aglobex.
- 3D Puzzle Pack – 2048 – Minesweeper
2048 docs | android | forum features: * unity ads. * state machines to control different game states. * very clean code that is easy to follow. * nice 3d effects …
- Advanced Platformer 2D
make your own 2d platformer! advanced platformer 2d is a complete toolkit package dedicated to 2d platformer video games using unity game engine.
- Agility Pack for Opsive Character Controllers
skill package is great but climbing up and down often misjudges or climb into the air state machine stuck do not know why i am very supportive of the extra skill …
- AI Behavior
finite state machine. easy. artificial intelligence. ai. edit tags. report tags. game ready ai behavior system: * easily create and modify dynamic ai behaviors for …
- Air Warfare
… satelite simulation system – camera movement system – the ai fighter in this package have been implemented with the finite state machine framework.
- Animals Wolf
currently you can blend between those from standing_breathing… but if you are using a state machine that plays a random animation you cannot set a transition …
- Animancer Lite
[ pro ] [ lite ] [ documentation ] [ examples ] [ forum ] [ animancerunityplugin@gmail.com ] animancer gives you the ability to play and control animations …
- Animancer Pro
[ pro ] [ lite ] [ documentation ] [ examples ] [ forum ] [ animancerunityplugin@gmail.com ] animancer gives you the ability to play and control animations …
- Animated MiniFigs Pack
… preconfigured character prefabs – 26 mecanim animations (usable by any character) – complete set of animation state machines – prefabs for each character… …
- Animated Pixel Pack
… character skins – 22 mecanim animations (usable by any skin) – complete set of animation state machines – prefabs for each character… customizable by simply …
- Animated Pixel Pack 2
may 30… 2019 – complete set of animation state machines – prefabs for each character… customizable by simply mix and matching sprites – 3 demo scenes for …
- Animator State Machine Utility
this turns the unity animator component into a powerful state machine. … no more spaghetti code… make complex state machines with unity’s own mecanim …
- Arbor 3: FSM & BT Graph Editor
… the node graph that can be intuitively create a state machine and behavior tree! … good for someone who doesn’t need any super-fancy node state-machines… …
- Avatar
avatar runs in unity 4.x and unity 5.x walking… running with your own character within 1 minute ? or try our online demo by clicking here! ever wanted to …
- behaviac
… is c# scripts in the game to execute the generated behavior. behaviac supports behavior tree… fsm(finite state machine)… and htn(hierarchical task network).
- Behavior Bricks
free and documented state machine inside unity? yes… to good to be true. i have been using the unity animator controller as a state machine and hoped to get …
- Behaviour Machine Free
behaviour machine is an elegant way to add the power of state machines… behaviour trees … the state machine system adds a layer that runs in the editor only …
- Behaviour Machine Indie
behaviour machine is an elegant way to add the power of state machines… behaviour trees … can’t decide between a finite state machine or behaviour tree?
- Behaviour Machine Pro
behaviour machine is an elegant way to add the power of state machines… behaviour trees and visual scripting to unity. it lets you continue with your workflow …
- Bezier Mesh 2D
… will give you an idea of what is possible with the scripts and how you can implement it. they will cover basic animation techniques and simple state machines.
- BitFSM
jun 13… 2019 – bitfsm is an visual scripting solution inspired by hfsms (heirarchical finite state machines) and based on the … finite state machine system.
- Bolt
bolt brings complete visual scripting to unity… empowering artists… designers and programmers to create gameplay mechanics and interactive systems without …
- C# Animator
feb 8… 2019 – designing animators in c# also allows for easy merging in source control • supports arbitrarily complex state machines… sub state machines …
- C# State Machine
a simple c# state machine system for unity. there are 3 … machinestate for states that will themselves be state machines derive from the machinestate class.
- Cartoon Soldier Animation Pack
the cartoon soldier animation pack is a full character solution complete with custom character controller w/ xbox360 gamepad support… mecanim state machine …
- CAT Game Builder
it’s a really well developed and put together state-machine system. i’ve already prototyped a few new mechanics quickly without writing any code or setting up …
- Character Pack: Armed Forces | Soldiers
animator controller (state machine) and simple movement… wielding and aiming scripts included. colorful… hand painted textures on all characters. prefabs of …
- Character Pack: Common People
animator controller (state machine) and a simple movement… wielding and aiming scripts included. colorful… hand painted textures on all characters. prefabs of …
- Character Pack: Fantasy
mar 7… 2019 – … versatile movement and interaction animator controller (state machine) and respective scripts for movement… wielding and aiming. colorful …
- Character Pack: Free Sample
animator controller (state machine) and a simple movement script included. colorful… hand painted textures. prefabs included… just drag ‘n drop! technical details …
- Character Pack: Zombie Sample
animator controller (state machine) and a simple movement script included. colorful… hand painted textures. prefabs included… just drag ‘n drop! technical details …
- Character Pack: Zombie Survival
animator controller (state machine) and simple movement… wielding and aiming scripts included. colorful… hand painted textures on all characters. prefabs of …
- Chronos
i also recommend their visual scripting/state machine asset called bolt. trust me… it has its uses regardless of your coding prowess. was this review helpful? 0. 1.
- Cinemachine
note: the latest cinemachine is available via the package manager from unity 2018.2+. this version here on the asset store is not the most recent… it doesn’t …
- coAdjoint Cut Scene Editor
procedural worlds. gaia – terrain & scene generator. (1141). $77 · quick look. coadjoint limited. simplefsm – a powerful finite state machine implementation.
- Communicator
shawn edwards. signal communications pack – radio and morse. (not enough ratings). $30 · quick look. morphvgx. finite state machine. (not enough ratings).
- Competitive Combat AI
what i found in the code was pretty un-commented… moderately-organized standard finite-state-machine stuff. i figured it was probably a fsm… but i thought it …
- Condor
may 14… 2018 – finite state machine manage lifecycle. debug ui assets assetpath. client fullname. callback fullname. reference count. state bundles bundle
- Condor Plus
condor plus – unity asset manage library by using assetbundle. ? highlights ? manage asset load and unload update bundle online snapshot to report …
- Condor Plus Trial
condor plus trial – unity asset manage library by using assetbundle. this is a trial version. please go to https://assetstore.unity.com/packages/slug/124093 for …
- Crazy Control
basically these guys apparently decided “wow that mecanim state machine is cool… so let’s abuse that to the point of squeezing every last everything out of it.
- Create Groundbreaking Adaptive Games – coAdjoint Orbit
simplefsm – a powerful finite state machine implementation. (3). $10 · quick look. coadjoint limited. coadjoint cut scene editor. (not enough ratings). $20.
- Cute Pet Zoo Plus+
… scene included – full source code included – fully customizable – using unity navmesh navigation – using mecanim state machine – using unity built-in input …
- Debug++
(10). $25. $20. plus/pro · quick look. mystery technologies. squiggle. (42). $25 · quick look. daniel gallagher. lost zombie studios finite state machine. (19).
- DecisionFlex
i’ve taken a less orthodox approach to implementing utility as i still back them up with behavior trees and state machines. i was able to easily integrate this into …
- Decoupling & Utilities Framework
some of the more prominent utilities features are: ? aot-compatible linq subset ? collection types and extensions ? threadmover ? hierarchical state machines.
- diamond Visual Scripting
diamond visual scripting. 11 user reviews. $40. add to cart. taxes/vat calculated at checkout. popular tags. future technologies. state machine. node editor.
- Discourse
jun 9… 2019 – a powerful node-based state machine imparts a robust… reliable backbone for your dialogues… cutscenes and barks. discourse is fit for …
- EnemyAI
… easily triggered as they were designed using a state logic. also mecanim animation is supported with an example script… model… animation and state machine.
- Everyday Motion Pack
i am surprised that this pack has animations for wars… currently… i am trying to control the animations through state machine… i hope it will work! when it works… i …
- fAutonomy
fautonomy provides non-scripted ai agent-behaviours able to generalize (unlike scripted game ai… such as behaviour trees or finite state machines). robust …
- Finite State Machine
finite state machine this is a straight forward and robust state based controller developed to provide programmers with a light weight option for implementing a …
- Finite State Machine
an instance of this class creates a finite state machine that manages triggers… callbacks and debugging messages. by using states and events a matrix is created …
- Finite State Machine Helper
finite state machine helper is a highly robust yet lightweight c# framework to implement state machines in your project. it supports both simple state machines …
- Finite State Machine Scriptable Object
dec 19… 2017 – easy-to-use (and free!) finite state machine made through scriptable objects. please follow how to use.rtf file for more information.
- Finite State Machine System
jan 23… 2018 – this finite state machine system is much more professional… and is developed for the programmer who has previous knowledge about the …
- Flexible Tags
quick look. artngame (nasos t.) particle dynamic magic 2: decal… spline… ai particles & dynamics. (42). $45 · quick look. fairuz. finite state machine helper.
- FSM AI Template
there is infinite possibilities with this finite state machine template! thanks for taking care of so much headache inducing code. this will speed up and improve …
- Game Rules – Visual C# Generator
game rules proposes a unique top–down approach… where flows and state machines graphically show main behaviour process steps. they call logic and when …
- GameFlow
state-machines. gamedev. gameflow. coding. code. localization. language. plugin. tool. edit tags. report tags. gameflow is a mould-breaking visual scripting …
- Gamelogic Extensions
a light-weight state machine class. – a monobahviour class that defines generic methods for instantiation. – a playerprefs alternative that… in addition to the …
- GDG-FSM
framework for creating finite state machines. this framework allows you to create entities driven by finite state machines. … finite state machine system.
- Generic IK
… ik problem of reaching a pre-assigned target in the inspector. you could think of each ik chain as a state-machine. all this package offers is really bunch of api …
- GPU Instancer – Crowd Animations
download demo build (windows pc)? beta release: price is %35 discounted for a short time. crowd animations is an extension for gpu instancer … and …
- Graphical Analyzing Tool
this is useful for debugging things like: o physics o animation o ai o state machines o timers o math calculations and much more. having values displayed …
- GUI Transition Framework
supports all resolutions… splash screens… features a game state machine and allows for transition effects (fading out and in and eased sliding in 4 directions).
- Hero General Animation Collection
we pretty much found all of the basic animations we needed in one tight package. the animation controller’s state machine is also quite extensive. nice work!
- Heroic Swimming
once purchased… the asset is non-refundable mecanim compatible includes state machine templates to help you create your own controller blended transitions …
- Heroic Traversal
this package contains a set of over 200 professionally animated actions for traversing with weight… power and style. demo video asset update enhanced …
- Hideable uGUI Panel
forget making an animation… a state machine… a hundred or so lines of “simple” code just to fade your panels in and out. forget the tricks like moving the panel …
- ICode
it doesn’t care whether it’s realy the part of the transition or reference to object outside of state machine. i am sharing link with my fix: https://pastebin.com/ …
- Ink Unity Integration
(in essence — it’s a state machine… where selecting an option changes the state). it’s not just static… though. ink has its own scripting language… which can be used …
- Intersection Helper
finite state machine helper. (3). $12 · quick look. fourth corner systems. magic markers. (4). $25 · quick look. dest studio. math library for unity. (24). $55.
- IoC+
mar 19… 2018 – coming with nested contexts… context as state machines and an interactive live feed of all contexts in game; ioc+ takes ioc to a whole ‘nother …
- Kinematic 2D
contact: website | unity connect | email kinematic 2d: webgl demo | user manual | release notes | unity forum thread ? description kinematic 2d is a fully …
- License Helper
finite state machine helper. (3). $12 · quick look. ouijapaw games llc. aws nosql dynamodb helper. (10). $10 · quick look. ciathyza. stats monitor. (29).
- Lost Zombie Studios Finite State Machine
the lzs finite state machine was written by daniel gallagher of lost zombie studios … for our next project i’m going to check out other state machines though.
- Master Server Kit
it uses jumping around in scenes as a state machine as far we can tell. we use state machines sending out events on changes in state. was this review helpful?
- Mecanim Example Scenes
inside… you’ll find eleven example scenes demonstrating locomotion state machines… animation blend trees… crowd simulations… multi-layer ik rigs… trajectory …
- Memory Match Game
… linux; ? state machine to control the game flow; ? automatically randomize the cards… unlimited possibilities; ? just a few well coded scripts; ? easily change …
- Mobile GUI Scaler
cans knockdown 2d – finger ball tossing + physics based throw mobile game. (not enough ratings). $7.99 · quick look. fairuz. finite state machine helper.
- Modulo
modulo provides a method of visual programming in unity by building state machines using logic nodes. rather than being ‘yet another visual scripting tool’ …
- Modulo – Evaluation Version
sep 28… 2018 – modulo provides a method of visual programming in unity by building state machines using logic nodes. rather than being ‘yet another visual …
- Motion Matching for Unity (beta)
may 27… 2019 – … (mxm) is an alternative animation system to mecanim which enables fluid and responsive animation without the need of a state machine.
- Multi Listener Pooling Audio System
capacity to play sounds directly from the animator component using our custom state machine behaviour. • support multiple audio listeners with 3d audio …
- Multi-Purpose AI Engine
jul 25… 2018 – included in the package: finite state machine that uses states (c# scripts) to control ai behaviour. behaviour tree system for visual scripting …
- Ninja Hero
the code is well commented and easy to understand/implement and the character animation state machine is very well put together. was this review helpful? 0.
- NodeCanvas
design reactive behaviour trees and hierarchical state machines within an … and while i haven’t touched its state machine yet… i’m looking forward to using this …
- NodeCanvas Lite – Behaviour Trees
create reactive behaviors and logic using behaviour trees in an intuitive full featured visual node editor with advanced runtime visual debugging… blackboard …
- Nottorus
this asset includes: – script editor – state machine editor – integrated scharp parser (conversion of scripts into nodes) – example scene (prototype of the ball …
- ONE: Logic StateMachine
this editor tool lets you create mighty state-machines with ease on unity’s animator. … animator and integrate a state machine in your workflow as simple as that!
- P-VUE (PlayFab Visual Unity Extensions)
playmaker is not a great solution for everything in unity; however… for state machines that designers can easily follow… it’s tough to beat. playfab is a very large …
- Panda BT Free
it didn’t take me long to port over my existing state-machine-based behaviors to panda bt tasks and scripts… and the end result is that the controlling code is …
- PathFinder 3D
… functions that make control of pathfinding and object moving more easy; – there are a state machine and event system… which allows us to control object easier;
- Personal Edition Apex Utility AI
thank you for a great asset… leaps forward from using state machines… and behaviour trees. was this review helpful? 0. 0. report this review. aaa advanced ai.
- PetZoo : Addon
… scene included – full source code included – fully customizable – using unity navmesh navigation – using mecanim state machine – using unity built-in input …
- Platforming Game Development Kit
water running… water physics… easily custumizable * springs and speed pads * loop-de-loops and momentum based movement * powerfull state machine and …
- Playmaker
programmers: add a powerful visual state machine editor to your toolbox. interface with scripts or extend playmaker with custom actions. :: new support for …
- Playmaker Floppy Template
learn from easy to understand… fully commented state machines. features: 1 – rigidbody physics based fish. 2 – two unique control styles to choose from… …
- Playmaker Platforming Starter Kit
learn from easy to understand… fully commented state machines. features: 1 – moving platforms… coins… health system… checkpoints… basic enemy… death and …
- Polarith AI Free | Movement… Steering
compatible with the latest unity 2017. polarith ai offers all you need for achieving state-of-the-art movement ai with just a few clicks. design complex movement …
- Polarith AI Pro | Movement… Pathfinding… Steering
compatible with the latest unity 2017. polarith ai offers all you need for achieving state-of-the-art movement ai with just a few clicks. design complex movement …
- Project Helper
feb 27… 2019 – this is a project helper. instead of pdf… word… doc or picture. in the unitypackage… people usually use a pdf or .doc to tell others how to use his …
- Puzzle Game
… multiplatform compatible with any touch device; ? state machine to control the game flow; ? automatically randomize the puzzle pieces… unlimited possibilities …
- Ragdoll – Hit Reaction Manager
thanks to this package i could ditch my “hit reaction” animations and tidy up my animator controller state machines. i am using this with realistic fps prefab …
- Realistic Swimming Animations
jun 19… 2018 – a sample mecanim state machine is included to demonstrate blend trees and allow animations to be triggered via ui in the demo scene
- RelationsInspector
this tool displays graphs of data relations… like a filtered asset view or scene hierarchy… or the communication between playmaker state machines… or links …
- RelationsInspector Demo
this tool displays graphs of data relations… like a filtered asset view or scene hierarchy… or the communication between playmaker state machines… or links …
- Renegade
apr 9… 2019 – morphvgx. finite state machine. (not enough ratings). $4.99 · quick look. fast iterate. condor plus. (not enough ratings). $100. top reviews.
- Rifle Crouch And Prone Pro
these blend together very well with sub state machines! they are smooth… and blend very easily with the other animations in the pack. i wish the pack included a …
- RMCv2 Animation State Machine
the rmcv2 animation state machine is the next chapter in mixamo character controllers. originally developed by adam mechtley and further refined by …
- Robust FSM
feb 10… 2019 – robustfsm is a simple yet powerful way of implementing a finite state machine for any of your c# project. it is designed to simplify your work …
- Rocket Jump Procedural Game
jump rocket project is a complete game that features a procedural gameplay based on physics. you can create infinite rocket runner your objective is to drive a …
- Round UI
nov 19… 2018 – animation and sprites animations system utilizes the inovative animator state machines to trigger flawless transitions between actions.
- RPG Kit
now with ugui! unity 5 compatible! icode included! this project is a rpg starter kit for unity. you will need to study the included state machine system to use …
- Safe Coroutine
if you’re used to state machine programming… this could well bring coroutines back to you. was this review helpful? 0. 0. report this review. works. 3 years ago.
- Sage: Anim Graph Editor
sage is a powerful and flexible animation state machine and blend graph system … visual debugging – state machines – blend graphs – full graph tree hierarchy …
- Sensor Toolkit
… has optional line of sight component that can add another layer of realism to detection events; works amazing with state machines as no integration is required …
- Sheath Script
compatible with state machine behaviours and animation events! includes: – 2 easy and fast to implement scripts. – 1 basic example character model. – 7 basic …
- Simple Option Stacker – SFSM
simple option stacker is the only stack-based finite state machine available on the unity asset store… to date. the sfsm system is a huge improvement on the …
- SimpleFSM – A powerful Finite State Machine Implementation
simplefsm is a finite state machine implementation that removes all the difficulty … avoid all the usual mess of writing finite state machines with a switch statement!
- Singleton Liberation – Inherit from your own MonoBehaviour
singleton made easy. (not enough ratings). free · quick look. by the tale. c# state machine. (11). free · quick look. logicandchaos. largenumberclass.
- Singleton Liberation – Inherit from your own MonoBehaviour
let’s free your hands! need monobehaviour becomes singleton? > yep! want a more considerate implementation? > if possible. have to make it from scratch?
- Soccer AI
initially developed as a university project to compare how a state machine and a behavior tree can affect the level of intelligence of npc’s… soccer a.i has been …
- SRDebugger – Console & Tools On-Device
srdebugger is a tool to help you track down bugs while on the target device. access to the unity console in any build of your game allows you to diagnose …
- State & Task Manager
this asset will be helpful those who want to start creating the ai… but do not want to start with writing finite-state machine. use ready-manager… and start writing …
- Stateorio – Finite State Machines in C#
aug 29… 2017 – stateorio is an implementation of finite state machines in c#. stateorio’s … simplefsm – a powerful finite state machine implementation. (3).
- Storm Lighter
the lighter is animated and contains 3 animations and a state machine. this package contains: – 4 prefabs (with/without logo… scaled/not scaled) – 2k textures …
- Surge
dec 15… 2017 – surge includes: tween animate anything with style and just one line of code. state machine logical… visual… sane… organization for turning small …
- Surge Examples
… tweening and state machines)… then this is a great way to learn by example! … the addition of a number of useful utilities such as state machine and spline …
- The Spaghetti Machine
the spaghetti machine is a custom editor for unity. it allows editing graphs (state machines… dialog trees… tech trees…)… simply by connecting panels with curves.
- The Way – Complete Game Template Ready To Release
the code is well commented and easy to understand/implement and the character animation state machine is very well put together. last but not least it never …
- Tic-Tac-Two: Turn-Based Game Tutorial v2.1
this tutorial includes a complete tic-tac-toe game… with human vs. computer… human vs. human and computer vs. computer support. this is a complete …
- Top Down 2D RPG Kit – Pro Version
modular design allows you to add your own game features… effects… sounds… and art. 100% source code included. *no unity pro license needed.* there seems to …
- TOZ State Machines
state machines to mimic artificial decision making through a finite or infinite amount of supplied states in a deterministic or … finite state machine system.
- TSS — Visual tweener
… eases support • various tweens for opening and closing objects • path module sets objects movement trajectory (nested path support) • state machine module …
- Typed Finite State Machine
this package delivers a powerful and efficient typed finite state machine . this fsm ties an object state to an object type so if you have 100 npc running an …
- uFSM
it is a finite state machine that can be easily set up and used in the inspector characteristic – it is an fsm that is … stateorio – finite state machines in c#.
- Ultimate Runner Engine
we have developed our own game state machine for keeping the project customizable … controller etc… and build game itself in the editor with state machines.
- uNode – Visual Scripting
•state graphs powerful state graphs which combine flow… state machine… and behavior tree into one graphs. •dynamic nodes use automatically generated …
- uScript Personal Learning Edition
much more than just a visual state machine… uscript is a fully featured visual scripting system developed by industry veterans of award-winning “aaa” games and …
- uScript Professional
uscript gives you the ability to bring your visions to reality in a creative and visual way. much more than just a visual state machine… uscript is a fully featured …
- uSim AI Turrets
use of state machine and coroutines makes the turret very low on resourse needs… ideal for anti air defenses simulation or tower defense games. feel free to …
- uSim Vehicle Simulation Framework
version 1.45b (may 2019) forum | demo | air module docs sea module docs over 5 years of active development makes this a complete and well tested vehicle …
- Voxelab – Complete Edition
voxelab – complete edition is a real time procedural meshing solution based on voxels. use one of the three meshing method available to extract your custom …
- VR Hands – Scifi Gloves
this package contains scifi glove model that can be used in vr projects. model is very hi-quality and optimized for vr specs (polycount: 3500). package comes …
- Www Loader – Fire’n’Forget with global Coroutiner
c# state machine. (11). free · quick look. dikra prasetya. simple disk utils. (12). free. top reviews. there are no reviews yet… be the first to post one!
- xNode
xnode is a very powerful and intuitive node editor framework ideal for coding your own dialogue systems… state machines… procedural generation… behaviour …
- zz Signal Slot
i’d like it to be able to remain in scene and turn on and off (eg a state machine). was this review helpful? 2. 0. report this review. language. english