x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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.

http://puu.sh/vTE06/6dc43e8cea.jpg

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 :)

Product Version: UE 4.15
Tags:
more ▼

asked May 18 '17 at 07:13 AM in Blueprint Scripting

avatar image

kmsk9
3 1 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered May 18 '17 at 01:17 PM

avatar image

redbox
4.3k 80 17 104

avatar image kmsk9 May 18 '17 at 08:22 PM

Thank you so much, this is exactly what I needed! 10/10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question