Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would I apply trigonometry to scripting?

So in my geometry class, I recently learned trigonometry and I am wanting to apply this to scripting in ROBLOX. What kind of functions would I need to know, I have no idea how I would go about this.

3 comments

0

i'm interested as well

0

If you are working with angles, you'll likely be using trigonometric functions.  See this answer by BlueTaslem: https://scriptinghelpers.org/questions/14545/

0

Honestly, I'm also interested :) I got the same idea in the middle of class when my teacher mentioned trigonometry.

1 answer

✓ Accepted answer

I've actually recently tried this. Pretty much anything with triangles works. Here are some examples:

  • Triangle terrain
  • Dynamic arm placement without Inverse Kinematics (assuming you ignore the hand/foot)

Some important functions to know are described in this answer by BlueTaslem

This discussion is preserved as it was. New answers, comments, and votes are closed.