generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: CFrame.Angles

Previous Thread :: Next Thread 
ZerefSan is not online. ZerefSan
Joined: 14 Jun 2011
Total Posts: 1068
12 Jan 2014 05:45 PM
I am using CFrame.Angles(math.pi, math.pi, math.pi). I am having trouble understanding the axis's. Can anyone explain them a little for me, please? Thanks! :)
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Jan 2014 05:46 PM
It's: x, y, z
math.pi radians is 180 degrees
Report Abuse
ZerefSan is not online. ZerefSan
Joined: 14 Jun 2011
Total Posts: 1068
12 Jan 2014 05:48 PM
I mean, like what would happen if I rotated a part on it's X by math.pi/2? The Y? Z?
Report Abuse
InternetGuy is not online. InternetGuy
Joined: 28 Apr 2010
Total Posts: 3385
12 Jan 2014 05:50 PM
math.rad(360) would be 360 degrees.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Jan 2014 05:51 PM
X axis: imagine a wheel rotating. Or like you are holding a stick between your two fingers and you move your right one down and your left one up.

Y axis: imagine the part is spinning, like you are holding a stick between your two hands from birds-eye view and you move your right forward and left back.

Z axis: imagine the x axis, except "the other way"
Report Abuse
ZerefSan is not online. ZerefSan
Joined: 14 Jun 2011
Total Posts: 1068
12 Jan 2014 05:54 PM
Thanks guys! I really appreciate it. I suck with angles and they confuse me...
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image