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"

Touch - Fire shot system

i want to where player touch that direction will be fire shot

alt text

Product Version: Not Selected
Tags:
asdada.png (102.0 kB)
more ▼

asked Oct 29 '14 at 10:01 PM in Blueprint Scripting

avatar image

Serhat
1 1 3 2

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

1 answer: sort voted first

Hello,

If you take the "Location" output from your Input Touch event, you can use that to get the touch location. Then you can connect that to the direction input. I am not sure how you have set up the "Fire Shot" event, but you may need to tweak the vector a little to get the results you want. Let me know if that helped you.

more ▼

answered Oct 29 '14 at 10:15 PM

avatar image Serhat Oct 30 '14 at 03:41 PM
avatar image Alexander Paschall ♦♦ EPIC Oct 30 '14 at 04:23 PM

Hi Serhat,

Thanks for the video explanation. That is odd, I'll have to investigate that further. I was able to get this working though:

alt text

Can you tell me if that works for you?

twinstick.jpg (177.5 kB)
avatar image Serhat Oct 30 '14 at 06:42 PM

thank you so much but still doesnt working

https://www.youtube.com/watch?v=FZCnaOcKJe4&feature=youtu.be

avatar image Peude Oct 31 '14 at 09:00 AM

Add in your project this scriptalt text :)

spaceshipmove.jpg (265.4 kB)
avatar image Serhat Oct 31 '14 at 01:05 PM

it will be New BP - Controller or PlayerController? or i will add in character BP ?

(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