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"

Launching pawn where camera is pointing

Hi! I have been working on a golf like game from Rolling example map. I have set up it so when I hold from 0-1 second it launches it slower and if more then with higher velocity etc. Problem occurs that since I have set it to launch on x axis I can't seem to get it to turn at all to be able to launch at different directions. Camera turns but I have had no success with any tutorials or applying my own skill to get the rotation of camera so I could shoot the ball towards where I'm looking. I also don't know if the way I'm doing the launching is the best way to do it in the case where I have to chance the direction of the launch depending on the camera.alt text

in here you can see what I currently have.

Product Version: UE 4.12
Tags:
mybp.jpg (378.6 kB)
more ▼

asked Aug 26 '16 at 11:34 PM in Blueprint Scripting

avatar image

jerzku
1 4

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

1 answer: sort voted first

Started looking the issue from other direction and found out a fix for this. Instead of adding velocity to the ball, I apply radial damage to a arrow that I planted behind the ball. This way it gets component bounds from the arrow itself and is always at right position.

more ▼

answered Aug 27 '16 at 12:15 PM

avatar image

jerzku
1 4

(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