Jump to content
Sign in to follow this  
Amazed

Make Player Aim at Certain Position - that possible?

Recommended Posts

Hi Guys!

I am setting up a testing environment and I need the (human) player to aim at a certain position dead-on.

Is there a way of doing that? Also can I make the player fire by any command?

Seems "lookAt" only works for AI.

Thanks in advance fellows!

Share this post


Link to post
Share on other sites
Hi Guys!

I am setting up a testing environment and I need the (human) player to aim at a certain position dead-on.

Is there a way of doing that? Also can I make the player fire by any command?

Seems "lookAt" only works for AI.

Thanks in advance fellows!

I'm not sure if it's possible to create something like lookAt, but take a look at setDir and maybe even setVectorUp. setMousePosition unfortunately only works for UI.

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  

×