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 can spawn an actor directly in front of a first person camera controller?

For my project I'm trying to make it so the player can spawn a shield in front of them.

It works when facing two directions, but I cannot figure out why it isn't spawning correctly in the others.

I've attached screenshots of the problem in game as well as my blueprints for this. I'm fairly confident it has something to do with the rotation settings, I just can't figure out what. Any help would be greatly appreciated!

Product Version: Not Selected
shield_help_1.jpg (72.5 kB)
shield_help_3.jpg (52.8 kB)
shield_help_4.jpg (202.9 kB)
more ▼

asked Nov 18 '14 at 10:16 PM in Blueprint Scripting

avatar image

6 4 6 6

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

1 answer: sort voted first

Well I am more used to Spawning things in C++ than I am in Blueprint so the parameters look odd to me. I did find a thread that may help: Spawning Actors in Blueprints

Specifically down at the bottom there is a diagram for spawning an actor

alt text

it may just be you need that "Make Transform" Node there... Hopefully that helps some.

more ▼

answered Nov 18 '14 at 10:42 PM

avatar image

489 32 25 57

avatar image JamesPhoenix Nov 21 '14 at 09:23 PM

That fixed it! Fantastic! Thank you so much for your answer!

avatar image Novemburrr Aug 02 '16 at 02:22 PM

Found myself in a similar dilemma and got to looking at your blueprint. It all makes good sense though is not far off from what I already have and does not serve to fix my situation but in my dithering and tiredness I got to looking at the event you have there. In examining the idea of using the right mouse button instead of the left to shoot I thought you might be crazy but then I thought "no the other right mouse button" as in some people actually use the mouse with their left hand which makes it quite reasonable to use the right mouse button as it would correspond to their index finger. Long story short... tldr; are you left handed?

avatar image jimd667 Oct 21 '17 at 08:43 PM

Thanks this helped me out a lot!

(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