Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Could I define the area inside a circle using Math.rad?

Asked by 8 years ago

Is it possible to define the area of a circle using math.rad, or radians? Not create a circle out of bricks like on the wiki. I mean defining an area, like get all parts within the area of said circle. If I wanted to get every part within a radius of another part, how would I do it? Can I do it?

I'm sorry if this isn't very clear, its the best I could do to describe what I have in mind.

0
More info needed. Define the area of a circle? What does that mean? Spell it out for us, we aren't going to guess at it. Unclear 1776 — 8y
0
Added more detail to the question. Hopefully it makes more sense now. Thanks. AwsomeSpongebob 350 — 8y
0
You want to get a list of parts that are in a sphere? Within a particular distance to an object? BlueTaslem 18071 — 8y
0
Bingo, but more like a cylinder. What I want to know is how I could achieve that through the use of math, or any existing Roblox methods. (I forgot 'Cylinder' was a word at the time of asking the question, whoops XD) AwsomeSpongebob 350 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

For the area of the circle you would need to know 2 simple things which is the diameter or radius(half the diameter) You would need to use these equations based on what knowledge you know.

http://www.mathgoodies.com/lessons/vol2/circle_area.html (I referenced from here aswell)

Ad

Answer this question