Results 1 to 4 of 4

Thread: NPC Look/Aim

  1. #1
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Posts
    58

    Default NPC Look/Aim

    Hey everyone.

    I'm lookign for some guidance with setting up my NPCs so that they turn their head to look at me when I get close to them.

    Right now, I'm mainly concerned with figuring out the AnimTree setup for this. I have them idling, walking and running, but I need to figure out where and how to implement the AnimNodeAimOffset

    Thanks so much!

  2. #2
    Redeemer
    Join Date
    Jun 2010
    Location
    Barcelona
    Posts
    1,898

    Default

    you'll need some scripting for this, at first for the part that activates/deactivates it when youre close/far.
    other than that, you just need a LookAt node at the head. and then more code: to change the LookAt position every frame to match the player pawn's position

  3. #3
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Posts
    58

    Default

    I have someone doing the scripting, I just need to setup the animTree

  4. #4
    MSgt. Shooter Person
    Join Date
    Apr 2012
    Posts
    58

    Default

    nevermind, i figured it out


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.