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"

how to make character move to a target on the moving plane?

alt text

as we know, the white plane is moving , its direction and speed is random. we can calculate target position,but its position is relative to the character.

the quesition is how to make the character move to the target by use like the picture? alt text

Product Version: UE 4.16
Tags:
bug1.png (310.8 kB)
bug2.png (46.0 kB)
more ▼

asked Sep 13 '17 at 08:14 AM in Blueprint Scripting

avatar image

handsome_boy
1 1 2

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

1 answer: sort voted first

Bad but easy way in which you can do this :

  1. create a actor BP name "TargetGrab" with a cube (just to visualize, latter you can delete or toggle visibility of the cube)

  2. 2.In this blueprint add event "Event On Begin Play"

  3. Maka BP similar to thisalt text

  4. Now instead of using simple move to location, Use Move to actor Here is BPalt text

  5. For all this to work i hope your plane is actor and has its OWN BP which looks like thisalt text

I hope this helps you

targetgrabbp.png (117.9 kB)
characterbp.png (61.6 kB)
planebp.png (373.1 kB)
more ▼

answered Sep 13 '17 at 09:54 AM

avatar image

A.SISODIYA
58 6 8

avatar image handsome_boy Sep 13 '17 at 11:40 AM

thank you! ,this is help me a lot

(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