Unity Artificial Intelligence Programming
DevelopingArtificialIntelligence(AI)forgamecharactersinUnity2018hasneverbeeneasier.UnityprovidesgameandappdeveloperswithavarietyoftoolstoimplementAI,fromthebasictechniquestocutting-edgemachinelearning-poweredagents.LeveragingthesetoolsviaUnity'sAPIorbuilt-infeaturesallowslimitlesspossibilitieswhenitcomestocreatingyourgame'sworldsandcharacters.ThisfourtheditionwithUnitywillhelpyoubreakdownAIintosimpleconceptstogiveyouafundamentalunderstandingofthetopictobuildupon.Usingavarietyofexamples,thebookthentakesthoseconceptsandwalksyouthroughactualimplementationsdesignedtohighlightkeyconceptsandfeaturesrelatedtogameAIinUnity.Furtheron,you'lllearnhowtodistinguishthestatemachinepatternandimplementoneofyourown.ThisisfollowedbylearninghowtoimplementabasicsensorysystemforyourAIagentandcouplingitwithaFiniteStateMachine(FSM).Next,you'lllearnhowtouseUnity'sbuilt-inNavMeshfeatureandimplementyourownA*pathfindingsystem.You'llthenlearnhowtoimplementsimple?ocksandcrowddynamics,whicharekeyAIconceptsinUnity.Movingon,you'lllearnhowtoimplementabehaviortreethroughagame-focusedexample.Lastly,you'llapplyalltheconceptsinthebooktobuildapopulargame.
·4.2萬字