- Learning Game AI Programming with Lua
- David Young
- 177字
- 2021-08-05 17:02:16
Chapter 3. Character Animations
In this chapter, we will cover the following topics:
- Loading animated meshes in the sandbox
- Attaching meshes to animating bones
- The sandbox soldier and weapon animations
- Blending multiple animations
- Creating a Lua animation state machine
- Building a soldier and weapon animation state machine
With a basic sandbox under our feet and a primitive agent representation, we can now move on to handling animations so that our agents can finally begin to look human. While we could assign a basic human mesh to our agents so far, they could never really look human without animations.
Animations play a key role in not only the visual aspect of the AI, but also the functionality of the AI. This might seem counter-intuitive, but the sandbox AI can only perform behaviors that the AI has animations for. If an animation takes 5 seconds to play out and can't be interrupted, our AI needs to take this into account before it decides to execute an animation; otherwise, our AI loses all reactiveness for these 5 seconds.
- InfluxDB原理與實(shí)戰(zhàn)
- MongoDB管理與開(kāi)發(fā)精要
- Access 2016數(shù)據(jù)庫(kù)技術(shù)及應(yīng)用
- 大數(shù)據(jù)治理與安全:從理論到開(kāi)源實(shí)踐
- PostgreSQL指南:內(nèi)幕探索
- 深入理解InfluxDB:時(shí)序數(shù)據(jù)庫(kù)詳解與實(shí)踐
- 商業(yè)智能工具應(yīng)用與數(shù)據(jù)可視化
- 離線(xiàn)和實(shí)時(shí)大數(shù)據(jù)開(kāi)發(fā)實(shí)戰(zhàn)
- Unity Game Development Blueprints
- 從Lucene到Elasticsearch:全文檢索實(shí)戰(zhàn)
- 數(shù)據(jù)中臺(tái)實(shí)戰(zhàn):手把手教你搭建數(shù)據(jù)中臺(tái)
- 基于數(shù)據(jù)發(fā)布的隱私保護(hù)模型研究
- 推薦系統(tǒng)全鏈路設(shè)計(jì):原理解讀與業(yè)務(wù)實(shí)踐
- 數(shù)據(jù)庫(kù)技術(shù)與應(yīng)用:SQL Server 2008
- MATLAB基礎(chǔ)及其應(yīng)用教程