Announcement

Collapse
No announcement yet.

How do you create a look at?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do you create a look at?

    Hi!
    I would like to have my camera to always look at another actor (in this case pawn).. but I cant really figure this one out..
    I have noticed there is a function called "find look at rotation".. but Im not sure if that fit my needs and never the less Im really cant figure out how to use it..
    Any ideas of how to create a "look at"-functionality using blueprints?

    //Inx

    #2
    I haven't tried this myself yet but this might be of some use.

    Use 2 GetActorLocation nodes. Set the target on the first one to self and the other one to the object you want to look at.
    Add a FindLookAtRotation and plug in the start "self" node and the target node.
    Pipe the above into a SetActorRotation.

    Let me know how you get on.

    Comment

    Working...
    X