Jump to content
Sign in to follow this  
camo1018

AI Force aim

Recommended Posts

Hi all,

I'm trying to come up with a script that forces the AI to aim at a certain target. I've managed to achieve the basics of this by manipulating vectorDir.

This only works to an extent, however, because while I can manipulate the orientation of the unit itself, I do not know of a way to manipulate weaponDirection. Has anyone found a way to do this?

If not, all I need to be able to do at this point is to be able to manipulate the pitch of the direction at which the AI is aiming (up and down motion) in order for the AI to be able to handle targets that are above or below it.

Thanks for all the help in advance.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×