Raised This Month: $ Target: $400
 0% 

pev_angles & pev_v_angle


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
moosewanted
Member
Join Date: May 2009
Old 05-30-2009 , 13:14   pev_angles & pev_v_angle
Reply With Quote #1

Other thread had to many questions to be dealt with in whole.

I'm setting the correct angles on rocket entities by getting the view angle of the player and setting that as the angle of the entitiy. The problem is that the pitch angle is inversed so the entity faces upwards when pointing down and vice versa.

As shown in this screen shot. Me looking down, apache facing upwards.



I think that the solution is to inverse the pitch angle. How would I go about doing this?

Thanks for any help

Last edited by moosewanted; 05-30-2009 at 13:41.
moosewanted is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode