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 do I pass vectors from Level Blueprint to Blackboard?

I'm attempting to pass a pair of vectors from the level blueprint to a Blackboard for use by the AI Controller/Behavior Tree, but haven't yet discerned how to pass the data directly and suspect that either it can't be set that way or I'm missing something in the communication documentation/tutorials.

Specifically, I'm trying to set an AI Pawn's direction to be facing a certain way based on a comparison of a look at rotation (calculated from 2 vectors, target point and spawn point) and the pawn's current rotation. At this point, it would seem that if I could make the AI Controller spawn prior to the pawn I'd be in business, except I'm not certain how to cast to the controller from the level blueprint or if that's possible. Any assistance would be greatly appreciated.

Product Version: UE 4.10
Tags:
more ▼

asked Feb 22 '16 at 08:32 PM in Blueprint Scripting

avatar image

Raistlin-
105 5 7 15

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

1 answer: sort voted first

As it turns out, I was just making this harder than it needed to be. Much easier to forego doing this within the BT and just set the basic behavior right at the controller level. See attached BP.

alt text

alt text

aicon1.png (391.0 kB)
aicon2.png (241.6 kB)
more ▼

answered Apr 07 '16 at 11:56 PM

avatar image

Raistlin-
105 5 7 15

(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