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"

Twin Stick Shooter problem

I'm using the twin stick shooter template as a starter for a game I am creating. The problem with this is that when my ship is facing forward it should not be able to fire backwards. Is there any way I can modify the blueprints for the ship to fix this problem. Your help will be appreciated. Thanks!! :alt text)

P.S. the bullets in the picture are edited in because I could not get an actual image while shooting in game.

P.P.S an image of the solution would be appreciated or even a link to a video would be nice. :)

Product Version: UE 4.11
problem.png (351.3 kB)
more ▼

asked Apr 21 '16 at 11:35 AM in Blueprint Scripting

avatar image

1 2 2

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

1 answer: sort voted first

Yes. Go to the player controller or character, find where the shoot stick input is handled, follow the logic and where it sets the direction to the direction of the stick, change it to use the direction of the pawn.

more ▼

answered Apr 21 '16 at 04:10 PM

avatar image

2.1k 67 84 77

avatar image TheDuckDude Apr 22 '16 at 09:16 AM

That is what i was doing before. The problem i'm having is that i,m finding it hard to find the direction of the stick and shoot stick input. Although I have been able to make the ship shoot in the right direction but it only shoots when i'm pressing the shoot button while moving and it won't shoot when i'm pressing the shoot button and i'm idle. Please help. :)

(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