In this tutorial we will take our code from the previous tutorial and we will be adding the ability for the AI to throttle and brake so that the AI can slow down at turns and speed up at straights. We also make sure the AI can do this with as much speed as possible.
Timestamps:
00:00 Intro
00:09 Explaining how the throttle and brake is going to work
03:11 Adding custom addition distance to our AI path
05:30 Adding code to calculate top speed
11:54 Adding code to throttle and brake to keep at top speed
20:04 Testing our code
20:25 Fixing car wobble/weird behavior
24:48 Testing our code again
26:18 Small improvements you can make
27:17 Outro
#ue5 #unrealengine #unrealengine5 #blueprint #bp #car #vehicle #ai