pullman45
|
  |
| Joined: 09 Jul 2012 |
| Total Posts: 2891 |
|
| |
|
|
| 23 Sep 2016 06:24 PM |
math.acos
WolfgangVonPrinz // Private Drive - Residents Only https://www.roblox.com/sword-champs-v2-item?id=486715005 |
|
|
| Report Abuse |
|
|
pullman45
|
  |
| Joined: 09 Jul 2012 |
| Total Posts: 2891 |
|
|
| 23 Sep 2016 06:32 PM |
| Oh, so that's what it is, thanks. |
|
|
| Report Abuse |
|
|
pullman45
|
  |
| Joined: 09 Jul 2012 |
| Total Posts: 2891 |
|
|
| 23 Sep 2016 06:58 PM |
| Though before and after replying to your post I played around with acos and didn't get very far. It might just be how I'm using it. |
|
|
| Report Abuse |
|
|
pullman45
|
  |
| Joined: 09 Jul 2012 |
| Total Posts: 2891 |
|
|
| 23 Sep 2016 06:59 PM |
| Yeah it has to be something I'm doing wrong. |
|
|
| Report Abuse |
|
|
pullman45
|
  |
| Joined: 09 Jul 2012 |
| Total Posts: 2891 |
|
|
| 23 Sep 2016 08:45 PM |
Whenever I try to use it it doesn't work how I want it to.
arccos(0.5) = 60
but math.acos(math.rad(.5)) = 1.6 (rounded)
Why is this?
|
|
|
| Report Abuse |
|
|
|
| 23 Sep 2016 08:50 PM |
| because you're at the phase of .5 degrees in the second example, not .5 radians. |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 23 Sep 2016 08:50 PM |
print(math.deg(math.acos(0.5))) >60
|
|
|
| Report Abuse |
|
|
pullman45
|
  |
| Joined: 09 Jul 2012 |
| Total Posts: 2891 |
|
| |
|