|
Post by stefan7211 on Aug 6, 2019 8:03:41 GMT
Hi there, I've been trying to get the AI to look at targets within their proximity. - I've applied the vAIHeadtrack to the AI character - Created a cube with the tag "LookAt" and layer "Headtrack" - Cube has a box collider with trigger enabled, size 10 - Cube has vLookTarget script, applied OnEnterLook the AI's headtrack script using vAIHeadTrack.LookAtTarget as well as its OnExitLook - Applied a state action "Look To Target" to patrol Not sure where i'm going wrong as I want the AI to look at objects when in close range to them and then remove the reference when exiting out of the targets range. Any help would be greatly appreciated
|
|