How to make a skill shot indicator
Hi there, Right now I'm working on a top down game where you have a grappling hook that shoots out from your chest and allows you to grab walls. The problem I'm having it making a working indicator to show the player the range. Right now I have a static mesh component with a texture on top with the correct distance, the problem is I can't get it to follow my mouse around my character.
Everything I look up is 2 years old or doesn't work and only gives me 180 degrees movement where I need 360. Please if you can help that would be great thanks :)
asked May 18 '17 at 07:13 AM in Blueprint Scripting
How do you specify location or direction to shoot hook? With mouse?
Get hit location under mouse cursor with line trace. Subtract it from character location, normalize. This will be shoot direction. Then use MakeRotFromX.
Follow this question
Once you sign in you will be able to subscribe for any updates here