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: How would you type down an inverse cosine function?

Previous Thread :: Next Thread 
pullman45 is not online. pullman45
Joined: 09 Jul 2012
Total Posts: 2891
23 Sep 2016 06:19 PM
I can't figure out how.
Report Abuse
AutoCarrot is not online. AutoCarrot
Joined: 24 Oct 2013
Total Posts: 5588
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 is not online. 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 is not online. 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 is not online. 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 is not online. 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
Real_Spooky is not online. Real_Spooky
Joined: 23 Oct 2013
Total Posts: 3149
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 is not online. 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 is not online. pullman45
Joined: 09 Jul 2012
Total Posts: 2891
23 Sep 2016 09:48 PM
Thanks guys!
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