Playermodel looking at mouse direction
Posted By:
Ness
Playermodel looking at mouse direction -
03/18/09
20:41
Hello,how do i can make this,that the player have to look at mouse direction?
Like this,that the pan angle changes it value and the player looks to the mouse.
Posted By:
Xarthor
Re: Playermodel looking at mouse direction -
03/19/09
13:33
Do you use a strict top-down perspectiv? (camera.tilt = -90) or is it something different?
Posted By:
Ness
Re: Playermodel looking at mouse direction -
03/19/09
15:02
Both:
First is Top-Down perpective!
And the other is free.hope that i can use the script for any angle!
Posted By:
George
Re: Playermodel looking at mouse direction -
03/20/09
07:33
Create a vector (or an entity, if you want) below the mouse, at the same height with player.z. Then, use vec_to_angle to rotate the player towards that vector / entity.
Posted By:
Ness
Re: Playermodel looking at mouse direction -
03/23/09
22:35
there was a tutorial for this in aum!
Someone know which aum it was?
greetings ness
© 2024
lite-C Forums