NewsUnrealEdFilesModsFragBULiandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Mapping

Reply
 
Thread Tools Display Modes
Old 11th Jun 2000, 10:14 PM   #1
MorituriMax
Registered User
 
Join Date: May. 7th, 2000
Location: Enterprise, AL USA
Posts: 92
Post

Anyone know how to convert the pitch roll and yaw values to their degree equivalents? So far i think 16375 is about 90 degrees. Is there somewhere that has these values?


------------------
Good. Fast. Cheap. Pick two.
MorituriMax is offline   Reply With Quote
Old 11th Jun 2000, 10:26 PM   #2
Klaus Kinski
Registered User
 
Join Date: Dec. 13th, 1999
Posts: 49
Post

This has nothing to do with degrees, it's a velocity. Pitch, yaw and roll define the speed of rotating things.


Kinski: I suck!

Klaus Kinski is offline   Reply With Quote
Old 12th Jun 2000, 01:11 AM   #3
MorituriMax
Registered User
 
Join Date: May. 7th, 2000
Location: Enterprise, AL USA
Posts: 92
Post

Nope, I was talking about the other pitch roll and yaw, the one I changed which changed the orientation of the brush... you know THAT one...

by the way i found that if you put in a value of 16384, it rotates the brush by 90 degrees, did this with a cube brush.

If anyone is interested then that is the value, and a negative rotates the brush the opposite direction.

I needed this so I could position the 2D shape I made in the editor the way I needed.


Good. Fast. Cheap. Pick two.

[This message has been edited by MorituriMax (edited 06-11-2000).]
MorituriMax is offline   Reply With Quote
Old 12th Jun 2000, 01:51 AM   #4
The_Dudester
Surfing the edge of underconfidence.
 
The_Dudester's Avatar
 
Join Date: Feb. 21st, 2000
Location: York/Norwich England
Posts: 758
Cool

UT stores angles as 16bit integers.
32768 = 180 clockwise (I think)
-32768 = 180 in the other direction
0 = faces in the "normal" direction.
The angles change linearly with the number.
i.e 45 degrees clockwise = 180 clockwise / 4
so you need to use a value of 8192.
The_Dudester is offline   Reply With Quote
Old 12th Jun 2000, 05:37 AM   #5
MorituriMax
Registered User
 
Join Date: May. 7th, 2000
Location: Enterprise, AL USA
Posts: 92
Post

Yep, 16384 times 2 works out to 32768, which is what i got for 90 degrees.. the way I did it was to make a cube brush, then rotate it smoothly to 90 degrees, then open up the properties and under movement.. it has a p/r/y for rotation of the object as well as the p/r/y for how the object is facing...

thanks for the info..


Good. Fast. Cheap. Pick two.
MorituriMax is offline   Reply With Quote
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 -5. The time now is 01:28 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Copyright ©1998 - 2009, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by ITXen