Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-10-2012, 02:43 PM
Jiroxys7 Jiroxys7 is offline
Hazard to Graal
Jiroxys7's Avatar
Join Date: Apr 2009
Posts: 343
Jiroxys7 will become famous soon enough
Quote:
Originally Posted by cbk1994 View Post
Best to do work in programming in radians and not degrees anyway. Try to avoid degtorad and just use radians from the beginning.
I hate to admit it, but I'm not at all familiar with radians. You learn about them in trig or something, right? The garbage school that I went to never taught past basic algebra. It's no wonder math is my weak point :/
__________________
MY POSTS ARE PRONE TO EDITS!
Reply With Quote
  #2  
Old 09-10-2012, 09:56 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Jiroxys7 View Post
I hate to admit it, but I'm not at all familiar with radians. You learn about them in trig or something, right? The garbage school that I went to never taught past basic algebra. It's no wonder math is my weak point :/
Typically radians are introduced whenever you start doing basic right-triangle trig. They're just an alternative unit of measurement for angles. pi is 180 degrees; you can get the rest of the measurements you need from there, or just echo the appropriate degtorad (best not to use it repeatedly in code though).

You can see radian measurements and corresponding angle measurements:

__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.