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"

Throw the ball go towards an arrow (Solved)

I have a ball, and an arrow that follows only the position of the ball, the arrow has 4 directions, 0 degrees, 90 degrees, -90 degrees, 180 degrees,

the problem is that the ball does not follow the specific directions according to the directions of the arrow, the ball is moving diagonally, I do not want it to move on diagonals, I that the ball moves only to the 4 directions and not on diagonals, did you understand?

Anyone have any idea how to adjust this?

video in youtube: https://youtu.be/FS-EoEWFDLM

here is the blueprint: alt text

explanation of logic

I already did make this logic perfectly in Unity but in engine 4 I did not succeed, this logic is a prototype for a football game that I am developing, the player controls the ball, when he changes the animation to 90 degrees and the foot touches the ball, then the ball is thrown towards the direction of the arrow, but for me To do this project I need to adjust this bug that I am facing, please help me !!

Product Version: UE 4.17
Tags:
2017-09-08-2.png (412.3 kB)
more ▼

asked Sep 08 '17 at 08:51 AM in Blueprint Scripting

avatar image

MarceloCosta_7
1 3 4

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

0 answers: sort voted first
Be the first one to answer this question
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