- Unreal Engine 4 AI Programming Essentials
- Peter L. Newton Jie Feng
- 125字
- 2021-07-16 12:48:41
Chapter 3. Adding Randomness and Probability
In this chapter, we will introduce randomness and probability techniques that can be used to add randomness, chance, and character to AI, which would otherwise be perfect. We will start with a quick "Probability 101" to explain some basic concepts; then, we will demonstrate how to use Stream to control a non-uniform distribution of numbers and use these results to demonstrate probability. We will cover how these are used within Unreal Engine 4. Finally, we will build on top of our enemy AIController to have it randomly perform an action.
This chapter will cover:
- Probability, probability distribution, and non-uniform distribution
- Using RandomStream in UE4 to add randomness to our AI
- Adding random behavior to enemy AI-based states
推薦閱讀
- Learning Cocos2d-x Game Development
- 電腦組裝與維修從入門到精通(第2版)
- BeagleBone By Example
- 深入淺出SSD:固態(tài)存儲核心技術(shù)、原理與實戰(zhàn)
- 硬件產(chǎn)品經(jīng)理成長手記(全彩)
- 分布式系統(tǒng)與一致性
- Apple Motion 5 Cookbook
- Hands-On Machine Learning with C#
- R Deep Learning Essentials
- Rapid BeagleBoard Prototyping with MATLAB and Simulink
- Spring Cloud微服務(wù)架構(gòu)實戰(zhàn)
- 計算機組裝維修與外設(shè)配置(高等職業(yè)院校教改示范教材·計算機系列)
- VMware Workstation:No Experience Necessary
- 單片微機原理及應用
- FreeSWITCH Cookbook