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 » Scripting Helpers
Home Search
 

Re: How to make a perfect circle using script?

Previous Thread :: Next Thread 
viplav37 is not online. viplav37
Joined: 17 Aug 2011
Total Posts: 1918
14 Aug 2013 01:39 PM
How to make a perfect circle using some script and how to change its colour,transparency,reflection ?
Report Abuse
noah is not online. noah
Joined: 11 Sep 2006
Total Posts: 18977
14 Aug 2013 01:40 PM
http://wiki.roblox.com/index.php/Circle
Report Abuse
viplav37 is not online. viplav37
Joined: 17 Aug 2011
Total Posts: 1918
14 Aug 2013 01:44 PM
What about Transparency and reflection?-
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
14 Aug 2013 01:47 PM
You could also use sine and cosine
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
14 Aug 2013 01:49 PM
@Notunknown:

"Now comes the tricky bit. Here we use CFrame composition, to avoid using trigonometry."
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
14 Aug 2013 01:50 PM
But WHY?
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
14 Aug 2013 01:50 PM
"to avoid using trigonometry"
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
14 Aug 2013 01:52 PM
...But WHY avoid using it?
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
14 Aug 2013 01:52 PM
Because it makes a lot of sense to do it from the center outwards rather than arbitrarily plotting stuff. Probably.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
14 Aug 2013 01:54 PM
I prefer sine and cosine... I just used in a GUI (Which I doubt CFrame can do :P)
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
14 Aug 2013 01:54 PM
With math you can translate Vector2 values the way CFrame does stuff
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
14 Aug 2013 01:55 PM
Multiply it by a 2x2 matrix? You mean the thing that uses sine and cosine to calculate the angle?
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
14 Aug 2013 01:58 PM
mhm

why do it externally when the code handles it internally for you
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
14 Aug 2013 02:00 PM
How to do it with sine/cosine pls
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
14 Aug 2013 02:01 PM
http://wiki.roblox.com/index.php/Circle#Ellipses
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
14 Aug 2013 02:15 PM
@Notunknown

Do you know how sine and cosine work? Or are you just trying to prove something by saying you prefer them?
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
14 Aug 2013 02:17 PM
I understand how they work.

I am also saying I prefer them.
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
14 Aug 2013 02:19 PM
"I understand how they work."

I'm very interested.

I've _always_ wanted to know how they work. In a brief two sentences, could describe the method used to calculate them and why it works the way it does?
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
14 Aug 2013 02:22 PM
Sorry, I mean understand how to APPLY them to the creation of a circle, and how to calculate them using triangles, and of their connection to e^(ix), but I don't understand how sine and cosine in general work.
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
14 Aug 2013 02:23 PM
Yes, I see.
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
14 Aug 2013 02:35 PM
I wish I knew how they worked too
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
14 Aug 2013 02:39 PM
"I wish I knew how they worked too"

I could tell you. If you begged me.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
14 Aug 2013 02:39 PM
sin^2 + cos^2 = 1, just like x^2 + y^2 = r^2?
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
14 Aug 2013 02:42 PM
"sin^2 + cos^2 = 1, just like x^2 + y^2 = r^2?"

Actually, how sine and cosine work is amazingly simple. I teach math by telling my students to visualize everything from Algebra and above as a function on a graph. What kind of graph would it make?

Sine and cosine are easy to visualize if you write a simple function for them. But why do they act that way? How do they calculate their values, and why does it work like that?

Those are very simple questions with simple answers. It's just, nobody ever cares to know so you don't find that much on Google about it.

Also most people Google the wrong thing anyways.
Report Abuse
blackshockwave is not online. blackshockwave
Joined: 16 Mar 2012
Total Posts: 1381
14 Aug 2013 02:47 PM
...Can't you guys just build it.This thread takes up space e.e
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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