How do I select an angle to fire a projectile?
Okay so basically, a game is being created in C++ in unreal. The game is 2D and the character should be able to fire projectiles. Basically, i'm fairly new to unreal and require a push in the right direction to getting this implemented.
I want to be able to do two different things:
I'm not asking for a full solution, i'm just wanting a push in the right direction?
Any help would be greatly appreciated! (Sorry about the bad paint drawing, haha)
asked Feb 23 '18 at 07:22 PM in C++ Programming
Hi @ibaconbuttys ,
answered Feb 24 '18 at 12:32 PM
You can also use vectors in 2D. Then the angle is:
Use this angle to limit the movement in your PlayerController class.
Follow this question
Once you sign in you will be able to subscribe for any updates here