官术网_书友最值得收藏!

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
主站蜘蛛池模板: 阿克陶县| 泽普县| 乌拉特后旗| 望谟县| 马公市| 陇川县| 兴宁市| 肥城市| 讷河市| 车致| 镇安县| 大姚县| 罗田县| 邻水| 五家渠市| 剑川县| 西华县| 洪泽县| 石家庄市| 通海县| 临江市| 宕昌县| 德安县| 正宁县| 绥芬河市| 贵南县| 离岛区| 肇源县| 北京市| 慈溪市| 青冈县| 姜堰市| 平潭县| 绥芬河市| 侯马市| 边坝县| 西安市| 怀来县| 永安市| 涟水县| 崇礼县|