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. 

Firing a projectile

Can anyone tell me how to fire a projectile using a 3rd person template in mobile. I tried using top down shooter tutorial as a reference but could not get it to work.

Product Version: UE 4.9
Tags:
more ▼

asked Jan 10 '16 at 05:32 PM in Blueprint Scripting

avatar image

Daryn36
9 2 5 7

avatar image B3nac Jan 10 '16 at 07:33 PM

Do you have all the blueprints and projectile mesh setup and It's just not firing?

avatar image Daryn36 Jan 11 '16 at 04:06 PM

Yes, I cant figure out how to get my projectile even on my screen.

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

2 answers: sort voted first

First thing that stands out is you're trying to use "fire" with a reference you don't need. You're casting to a blueprint that you're already in. Get rid of all the nodes after delay (and begin play, and the gate), and then simply bring up "fire".

Keybind -> fire

Secondly, your vector math may be wrong, I can't say for sure. Try spawning the projectile in a fixed position, e.g +20 along the x axis from the player. Just to know for sure it's spawning.

more ▼

answered Jan 11 '16 at 06:47 PM

avatar image

vanlacke
1.5k 65 132 103

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

It worked ! I know I'm probably getting this all wrong but I cant seem to get my projectile to shoot out of my rifle mesh now.

more ▼

answered Jan 12 '16 at 06:57 PM

avatar image

Daryn36
9 2 5 7

(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