|
| 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 |
|
|
| |
|
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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 07 Oct 2016 09:44 PM |
Ah, thanks for the help. Been troubling me for a good 20 minutes |
|
|
| Report Abuse |
|
|