Hello, i’m working on a twin stick shooter game and i’m trying to set up the animations so that they fit with the current direction the player is moving in.
Basically If the player LOOK_AT Direction is 80, then I create two float ranges, one where min is LA_Dir - 45 and max is LA_Dir. The next float range would be min LA_Dir and max LA_Dir + 45.
(min 35,max 80) & (min 80, max 125). This simple equation would determine the FORWARD direction and then I would just check whether the Movement_Direction is within any of those two ranges.
I’m pretty sure I can replicate this to establish the Back,Right and Left directions. My problem is that the blueprint i’m creating is quite large and its seems to be that there should be another method of solving this problem without having to create such a huge blueprint. I’m concerned that such a big blueprint that is being called every time the left joystick (movement) is triggered will make the game run slow. This game is meant for Android.
If you guys have any knowledge that might help me in figuring this out I’d appreciate it. Thanks.