Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
gggmork

make player pitch to a point

Recommended Posts

I have the player at point x1/y1/z1.
I have another point at x2/y2/z2.

I have been able to make the player's camera face the point with his ANGLE, but making him face the point with his PITCH is being a tricky pain.

y-shearing is bound by -0.0888977 and 0.155548. I think positive points down.

Vectorangle usually takes an x and y, but I think you should feed it x and z for pitch.

I think I drank too much mountain dew and its preventing my neurons from communicating with eachother. I'm gonna go to sleep.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×