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"

Set actor forward to look at target

I want to have an actor basically look at a target vector. That is the actor is rotate so its forward vector when drawn out would eventually intersect with the given target vector. I tried to find a "LookAt" function, but that doesn't seem to exist. Any help is appreciated.

Product Version: Not Selected
more ▼

asked Oct 09 '14 at 11:00 PM in C++ Programming

avatar image

10 3 8 10

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

1 answer: sort voted first

"Find Look at Rotation" is your friend;0



more ▼

answered Oct 10 '14 at 06:59 AM

avatar image

2.6k 73 49 131

avatar image slev23 Oct 10 '14 at 07:41 PM

I have figured that part out and was able to find the proper rotations, but the actor doesn't rotate correctly towards the target.

avatar image Pierdek Oct 10 '14 at 07:50 PM

Post some screenshot from your solution, and You know, search doesn't hurt:


(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