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"

Why does my set actor location fail?


I want to spawn a projectile on LMB, keep it in front of the player and on LMB release shoot it.

My problem is, when I use set actor location in my projectile BP, my player gets moved around weirdly.


Why doesnt it work? Thanks

Product Version: UE 4.15
more ▼

asked Feb 15 '18 at 11:35 AM in Blueprint Scripting

avatar image

3 1 3

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

1 answer: sort voted first

I think it's because you are trying to put the projectile and player in EXACTLY the same world location.. so the collision in your player is moving you

more ▼

answered Feb 15 '18 at 11:53 AM

avatar image

1.1k 9 17 21

avatar image AGilling Feb 15 '18 at 12:54 PM

Thanks bro! That was it.

avatar image aNorthStar Feb 15 '18 at 12:58 PM

your welcome... imho the best way to achieve what you are aiming for is:

in your Character/Pawn BP... put a Scene component in the location to represent where you'd like your projectiles to spawn

in your Projectile BP... Get World Location of the Scene component

Good luck! :)

(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