教育资源为主的文档平台

当前位置: 查字典文档网> 所有文档分类> 外语学习> 日语学习> Unity.4.x.Game.AI.Programming.Jul.2013

Unity.4.x.Game.AI.Programming.Jul.2013

上传者:崔振乾
|
上传时间:2015-04-24
|
次下载

Unity.4.x.Game.AI.Programming.Jul.2013

unity4游戏ai编程

Table of Contents

Unity 4.x Game AI Programming

Credits

About the Authors

About the Reviewer

http://wendang.chazidian.com

Support files, eBooks, discount offers and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

1. Introduction to AI

Artificial Intelligence (AI)

AI in games

AI techniques

Finite State Machines (FSM)

Random and probability in AI

The sensor system

Polling

The messaging system

Flocking, swarming, and herding

Path following and steering

A* pathfinding

A navigation mesh

The behavior trees

Locomotion

Dijkstra's algorithm

Summary

2. Finite State Machines

unity4游戏ai编程

The player's tank

The PlayerTankController class

Initialization

Shooting bullet

Controlling the tank

The bullet class

Setting up waypoints

The abstract FSM class

The enemy tank AI

The patrol state

The chase state

The attack state

The dead state

Taking damage

Using an FSM framework

The AdvanceFSM class

The FSMState class

The state classes

The PatrolState class

The NPCTankController class

Summary

3. Random and Probability

Random

Random class

Simple random dice game

Definition of probability

Independent and related events

Conditional probability

A loaded dice

Character personalities

FSM with probability

Dynamic AI

Demo slot machine

Random slot machine

Weighted probability

Near miss

Summary

4. Implementing Sensors

Basic sensory systems

Scene setup

unity4游戏ai编程

Player tank and aspect

Player tank

Aspect

AI character

Sense

Perspective

Touch

Testing

Summary

5. Flocking

Flocking from Unity's Island Demo

Individual Behavior

Controller

Alternative implementation

FlockController

Summary

6. Path Following and Steering Behaviors

Following a path

Path script

Path follower

Avoiding obstacles

Adding a custom layer

Obstacle avoidance

Summary

7. A* Pathfinding

A* algorithm revisit

Implementation

Node

PriorityQueue

GridManager

AStar

TestCode class

Scene setup

Testing

Summary

8. Navigation Mesh

Introduction

Setting up the map

Navigation Static

Baking the navigation mesh

unity4游戏ai编程

Nav Mesh Agent

Updating agents' destinations

The Target.cs class

Scene with slope

NavMeshLayers

Off Mesh Links

Generated Off Mesh Links

Manual Off Mesh Links

Summary

9. Behavior Trees

Behave plugin

Workflow

Action

Interfacing with the script

Decorator

Behave debugger

Sequence

Exploring Behave results

Selector

Priority selector

Parallel

Reference

The Robots versus Aliens project

Summary

10. Putting It All Together

Scene setup

Tags and layers

Vehicles

Player car controller

AI Car Controller

Finite State Machines (FSMs)

Patrol state

Chase state

Attack state

Weapons

Gun

Bullet

Launcher

Missile

Summary

unity4游戏ai编程

Index

版权声明:此文档由查字典文档网用户提供,如用于商业用途请与作者联系,查字典文档网保持最终解释权!

下载文档

热门试卷

2016年四川省内江市中考化学试卷
广西钦州市高新区2017届高三11月月考政治试卷
浙江省湖州市2016-2017学年高一上学期期中考试政治试卷
浙江省湖州市2016-2017学年高二上学期期中考试政治试卷
辽宁省铁岭市协作体2017届高三上学期第三次联考政治试卷
广西钦州市钦州港区2016-2017学年高二11月月考政治试卷
广西钦州市钦州港区2017届高三11月月考政治试卷
广西钦州市钦州港区2016-2017学年高一11月月考政治试卷
广西钦州市高新区2016-2017学年高二11月月考政治试卷
广西钦州市高新区2016-2017学年高一11月月考政治试卷
山东省滨州市三校2017届第一学期阶段测试初三英语试题
四川省成都七中2017届高三一诊模拟考试文科综合试卷
2017届普通高等学校招生全国统一考试模拟试题(附答案)
重庆市永川中学高2017级上期12月月考语文试题
江西宜春三中2017届高三第一学期第二次月考文科综合试题
内蒙古赤峰二中2017届高三上学期第三次月考英语试题
2017年六年级(上)数学期末考试卷
2017人教版小学英语三年级上期末笔试题
江苏省常州西藏民族中学2016-2017学年九年级思想品德第一学期第二次阶段测试试卷
重庆市九龙坡区七校2016-2017学年上期八年级素质测查(二)语文学科试题卷
江苏省无锡市钱桥中学2016年12月八年级语文阶段性测试卷
江苏省无锡市钱桥中学2016-2017学年七年级英语12月阶段检测试卷
山东省邹城市第八中学2016-2017学年八年级12月物理第4章试题(无答案)
【人教版】河北省2015-2016学年度九年级上期末语文试题卷(附答案)
四川省简阳市阳安中学2016年12月高二月考英语试卷
四川省成都龙泉中学高三上学期2016年12月月考试题文科综合能力测试
安徽省滁州中学2016—2017学年度第一学期12月月考​高三英语试卷
山东省武城县第二中学2016.12高一年级上学期第二次月考历史试题(必修一第四、五单元)
福建省四地六校联考2016-2017学年上学期第三次月考高三化学试卷
甘肃省武威第二十三中学2016—2017学年度八年级第一学期12月月考生物试卷

网友关注视频

19 爱护鸟类_第一课时(二等奖)(桂美版二年级下册)_T3763925
沪教版牛津小学英语(深圳用) 四年级下册 Unit 7
8.练习八_第一课时(特等奖)(苏教版三年级上册)_T142692
第4章 幂函数、指数函数和对数函数(下)_六 指数方程和对数方程_4.7 简单的指数方程_第一课时(沪教版高一下册)_T1566237
化学九年级下册全册同步 人教版 第22集 酸和碱的中和反应(一)
冀教版小学英语四年级下册Lesson2授课视频
【部编】人教版语文七年级下册《过松源晨炊漆公店(其五)》优质课教学视频+PPT课件+教案,江苏省
沪教版牛津小学英语(深圳用) 四年级下册 Unit 3
沪教版八年级下册数学练习册一次函数复习题B组(P11)
【部编】人教版语文七年级下册《泊秦淮》优质课教学视频+PPT课件+教案,天津市
苏教版二年级下册数学《认识东、南、西、北》
七年级英语下册 上海牛津版 Unit5
【部编】人教版语文七年级下册《泊秦淮》优质课教学视频+PPT课件+教案,辽宁省
第12章 圆锥曲线_12.7 抛物线的标准方程_第一课时(特等奖)(沪教版高二下册)_T274713
冀教版英语五年级下册第二课课程解读
外研版英语七年级下册module3 unit2第二课时
精品·同步课程 历史 八年级 上册 第15集 近代科学技术与思想文化
七年级英语下册 上海牛津版 Unit3
第8课 对称剪纸_第一课时(二等奖)(沪书画版二年级上册)_T3784187
河南省名校课堂七年级下册英语第一课(2020年2月10日)
冀教版小学数学二年级下册第二单元《有余数除法的整理与复习》
沪教版牛津小学英语(深圳用) 五年级下册 Unit 12
【部编】人教版语文七年级下册《老山界》优质课教学视频+PPT课件+教案,安徽省
【部编】人教版语文七年级下册《泊秦淮》优质课教学视频+PPT课件+教案,湖北省
【部编】人教版语文七年级下册《泊秦淮》优质课教学视频+PPT课件+教案,广东省
飞翔英语—冀教版(三起)英语三年级下册Lesson 2 Cats and Dogs
沪教版牛津小学英语(深圳用)五年级下册 Unit 1
冀教版小学数学二年级下册第二单元《有余数除法的简单应用》
二年级下册数学第二课
沪教版牛津小学英语(深圳用) 四年级下册 Unit 12