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"

How come my projectile only fires in X?

I am unable to get my projectile to fire whichever way I am facing, I could really use some help asap as I have been searching for a while, trying many different things, but either doing them wrong or they don't work - any help is appreciated, SS below of my events on the projectile, and on the player.

alt text

alt text

Product Version: Not Selected
Tags:
untitled2343554.png (158.3 kB)
untitled23423.png (165.4 kB)
more ▼

asked May 12 '14 at 08:16 PM in Blueprint Scripting

avatar image

41yards
1 1 3 3

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey 41yards,

I see you're using the base script from the First Person Template to fire your projectile--are you spawning the same MyProjectile asset from that template as well? What behavior are you seeing with your setup? Is it firing the projectiles but just in directions that aren't in front of you or are they not spawning at all?

-Steve

more ▼

answered May 12 '14 at 10:37 PM

avatar image

Steve Allison STAFF
4.2k 123 58 208

avatar image 41yards May 12 '14 at 10:56 PM

Yeah, I am using the same asset from that template, it's only firing in the x direction rather than firing wherever the UFO is pointing

avatar image Steve Allison STAFF May 12 '14 at 11:19 PM

In the MyProjectile blueprint, if you go to Components, select Projectile from the list, in Details scroll to the Initial Velocity in Local Space option--is that checked or unchecked? It should the checked; unchecking it makes my projectiles always fire in X direction, checking it makes them fire in the direction I'm facing.

avatar image 41yards May 13 '14 at 12:49 AM

Hey, my initial velocity is 3000, and then i have it set to 3000 in the x under velocity, Initial Velocity in Local Space is checked but it still only fires in x, I wonder if the problem could be in my player blueprint for spawning the projectile?

avatar image 41yards May 13 '14 at 01:54 AM

and if I remove the x velocity, it just drops the projectile as soon as it fires

avatar image sir_biggles Sep 08 '15 at 01:18 PM

Sorry to come back to a dead topic but this issue is killing me, did anyone ever figure it out?

avatar image sir_biggles Sep 15 '15 at 06:47 AM

Okay for anyone that gets here and misses my post with the solution, here it is.

https://answers.unrealengine.com/questions/301555/projectile-only-fires-in-x-regardless-of-where-you.html

(comments are locked)
10|2000 characters needed characters left
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