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"

Setting Projectile Destination to Mouse Position

Hey there! So I've created a great blueprint for my topdown project using the projectiles and they all fire in the rotated direction I want them to go. However, I am having immense trouble figuring out how to have the projectiles land at the initial cursor click position.

This would be much like certain Diablo 3 style projectiles such as the demon hunter's cluster arrow that sets the projectile destination to a specific spot. Any thoughts on how I might achieve this? Even just small hints would be extremely useful, I can generally fill in the rest.

Thanks in advance!

Product Version: UE 4.16
more ▼

asked Aug 13 '17 at 09:20 AM in Blueprint Scripting

avatar image

59 1 4 4

avatar image Omnyth Aug 13 '17 at 09:32 AM

alt text

I made a beautiful diagram showing what I'm trying to do.

whatneed.png (98.0 kB)
avatar image Omnyth Aug 13 '17 at 08:47 PM

Anyone? Like I said, even a hint as to what I should do would work. I've looked around and can't really find any good examples on this topic :|

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

1 answer: sort voted first

You need to learn up on maths related to arcs/projectiles. Here is some non-ue4 info i found with a quick google search:


more ▼

answered Aug 14 '17 at 02:32 AM

avatar image

2.4k 95 9 96

(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