An animator animation state machine
发布时间
阅读量:
阅读量
1、有限状态机
有限状态机(Finite-state machine, FSM),commonly referred to as finite automaton, is a mathematical model used to describe the behavior of systems with a finite number of states and their transitions and actions.简称有限状态自动机, FSM is a common model for representing the dynamic behavior of systems with discrete states.
有限:表示是有限度的不是无限的
状态:指所拥有的所有状态
举例说明:
设想人类会执行多种行为,并非单一的状态。
这些状态包括站立、行走、奔跑、攻击以及防守等行为。
人类每天都在不同的状态下切换,并且虽然有多种状态类别。
当达到特定条件时,则会触发这种转换。
并且这种转换随时可能发生。
游戏开发中有很多功能系统都是有限状态机
最典型的状态机系统
- 动作系统 —— 当触发特定条件时会转换到另一个预设的动作,并且预设的动作数量有限
- AI(人工智能)系统 —— 当触发特定条件时会转换到一个新的状态,并且新状态的数量是有限的
全部评论 (0)
还没有任何评论哟~
