This is episode 36 of the third-person shooter series based on Unreal Advanced Locomotion System. We have already worked on the animation part of the grenade throwing system. Now we are going to work on how to visualize the predicted projectile path of the grenade to allow the player to accurately aim the grenade. Here, we will construct a series of spline meshes in the runtime to represent the projectile path with the help of predict projectile path by channel function and a spline component. As long as the player holds the grenade button, the projectile path will be visualized and the player can adjust the aiming location accordingly.
CodeLikeMe Third-Person shooter series: https://www.youtube.com/playlist?list=PLKLABJGyKV-CmWAXXeuUTer0iI0kSG1W4
.
project files
https://www.patreon.com/posts/63654325