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
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
|
| 14 Aug 2013 01:40 PM |
| http://wiki.roblox.com/index.php/Circle |
|
|
| Report Abuse |
|
|
viplav37
|
  |
| Joined: 17 Aug 2011 |
| Total Posts: 1918 |
|
|
| 14 Aug 2013 01:44 PM |
| What about Transparency and reflection?- |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2013 01:47 PM |
| You could also use sine and cosine |
|
|
| Report Abuse |
|
|
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 |
|
|
| |
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 14 Aug 2013 01:50 PM |
| "to avoid using trigonometry" |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2013 01:52 PM |
| ...But WHY avoid using it? |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 14 Aug 2013 02:00 PM |
| How to do it with sine/cosine pls |
|
|
| Report Abuse |
|
|
|
| 14 Aug 2013 02:01 PM |
| http://wiki.roblox.com/index.php/Circle#Ellipses |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 14 Aug 2013 02:17 PM |
I understand how they work.
I am also saying I prefer them. |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 14 Aug 2013 02:39 PM |
| sin^2 + cos^2 = 1, just like x^2 + y^2 = r^2? |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 14 Aug 2013 02:47 PM |
| ...Can't you guys just build it.This thread takes up space e.e |
|
|
| Report Abuse |
|
|