I wonder how can I create cover system via C++ code? I looked through internet for some example games, using cover system created in c++, but I didn’t found. Which class expansion shall I use to do so? How animation works in C++? I don’t even know how to begin creating cover system. I need ur help guys! Thanks!
It’s a long process but if you’re willing to learn…
Controlling animations through c++:
Use trace (raycasts) to see where the walls are, so your character knows if there is cover in front of him or not: