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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Fire Bullet from Right Virtual Joystick - Mobile Game

Hello guys, i'm trying to make a mobile Top Down Game just for fun and learning and i'm facing a problem with shooting script. I want to make my character shoot when I move the right Virtual Joystick so I make this blueprint script : alt text

I'm a newbie in UE4 so I just try to follow tutorial but I don't find anything about shooting with virtual joystick on web so I try to adapt them to my project. With this blueprint, in the game, bullet are always shooting and make my character bump everywhere in the map. Thanks in advance for your help !

Ad.

Product Version: UE 4.16
Tags:
capture.png (107.5 kB)
more ▼

asked Jul 27 '17 at 12:10 PM in Blueprint Scripting

avatar image

wowadrien
1

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

2 answers: sort voted first

I also need the same thing with the joysticks and I do not think any tutorial or anything like that

more ▼

answered Sep 14 '17 at 07:44 AM

avatar image

alexmota00
1

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

First, in your project settings, open the input tab and create an axis input binding to the Right Thumbstick. Then on your BP, you create an event for the input you created and call fire after that. For joystick you just add another bind to the same Axis Input.

more ▼

answered Sep 14 '17 at 02:19 PM

avatar image

Iotti
519 1 4 8

(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