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"

Using Loops, Find look at rotation

Hey guys, total noob here, I've been watching video tutorials and reading some of the documentation and today I got to this video (Using Loops : Procedural Level Design) , and I managed to recreate it all and get working exactly like in the video, and I think I get it for the most part, but still there are these few things that I just can't figure them out,like for example :

  • What's the point of multiplying the endpoint vector by 1 at 2:57 ? I tried without it and it worked just the same !

  • How does "Find look at rotation" exactly work?, I tried it with a cube mesh instead of the pillar mesh and it didn't work!



Product Version: UE 4.12
Tags:
more ▼

asked Aug 31 '16 at 05:47 PM in Blueprint Scripting

avatar image

SilentSword
1 1 3

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

1 answer: sort voted first

Hey SilentSword-

To answer your first question, the reason the video multiplied by 1 was to keep the X and Y values the same while multiplying by 0 to remove / ignore the Z.

As for Find Look At Rotation, the Start vector is the location of the object / actor that is "looking" and the Target vector is where they are looking at. The Rotation that is returned is the rotation needed to face the target vector from the start vector.

Cheers

Doug Wilson

more ▼

answered Aug 31 '16 at 06:21 PM

avatar image SilentSword Aug 31 '16 at 10:12 PM

Thanks man, Much appreciated

(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