Let’s talk about the dot product in game development

How to use the dot product operation in Unreal Engine using C++ and Blueprints

When I work on gameplay mechanics, I often stumbled across situations where I need to apply maths.
When implementing my NPC (Non-player characters), I face a similar situation like the example I will show you here.