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 » Scripters
Home Search
 

Re: Can't get the angle the way I want?

Previous Thread :: Next Thread 
CrixusOdalisManiatus is online. CrixusOdalisManiatus
Joined: 16 Jun 2011
Total Posts: 5987
07 Oct 2016 09:40 PM
I want it to be perfectly horizontal but i can't find out what to do to make it horizontal.


it's always at an angle




CFrame.Angles(90, math.rad(0), 0)



what do I change it to, to make it horizontal?
Report Abuse
Real_Spooky is not online. Real_Spooky
Joined: 23 Oct 2013
Total Posts: 3149
07 Oct 2016 09:40 PM
q u a t e r n i o n s
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
07 Oct 2016 09:41 PM
CFrame.Angles(90, math.rad(0), 0)

is going to be either vertical or horizontal depending on the size of your part
whate xactly do you want
Report Abuse
Egzekiel is online. Egzekiel
Joined: 10 Jan 2011
Total Posts: 1079
07 Oct 2016 09:42 PM
CFrame.Angles() takes radians as arguments.
That's why you need to do: CFrame.Angles(math.rad(90),0,0)


Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
07 Oct 2016 09:43 PM
oh woops yeah i totally thought you put math.rad(90), 0 not 90, math.rad(0)
rip my eyes
Report Abuse
CrixusOdalisManiatus is online. CrixusOdalisManiatus
Joined: 16 Jun 2011
Total Posts: 5987
07 Oct 2016 09:44 PM
Ah, thanks for the help.
Been troubling me for a good 20 minutes
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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