Raised This Month: $319 Target: $400
 79%   Almost there!

how do I rotate the model?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jonny1990
Senior Member
Join Date: Apr 2020
Old 07-12-2020 , 13:19   how do I rotate the model?
Reply With Quote #1

guys please tell me how to rotate the model so that it stands vertically, as I indicated in the picture

Code:
static Float:angles[3]
            pev(ent,pev_angles,angles)
            angles[0] -= 180.0
            angles[1] += 70.0
            set_pev(ent,pev_angles,angles)

Last edited by jonny1990; 07-12-2020 at 13:22.
jonny1990 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-12-2020 , 13:41   Re: how do I rotate the model?
Reply With Quote #2

change the pitch angle by 90 degree either +90/-90
__________________
@Jailbreak Main Mod v2.6.6 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
jonny1990
Senior Member
Join Date: Apr 2020
Old 07-12-2020 , 13:58   Re: how do I rotate the model?
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
change the pitch angle by 90 degree either +90/-90
thanks for helping
jonny1990 is offline
Reply


Thread Tools
Display Modes

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 05:42.


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