|
| 10 Jul 2015 08:49 AM |
I need to spawn 10 parts that form a radius of 90 degrees, but this radius is under an angle of 45 degrees. (like a shock wave would move outwards.) Tried it with a few different for-statements, checked the wiki's "Circle" page. Can't find anything, and I don't quite understand how it works yet.
They have a cave troll |
|
|
| Report Abuse |
|
|
trendal3
|
  |
| Joined: 06 Feb 2011 |
| Total Posts: 115 |
|
|
| 10 Jul 2015 08:55 AM |
| i know ur trying to make urself beautiful but u just can't |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 10 Jul 2015 09:04 AM |
"radius of 90 degrees"
Radius is the distance from the center to the edge. 90 degrees isn't a valid radius. |
|
|
| Report Abuse |
|
|
lordrambo
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 20628 |
|
|
| 10 Jul 2015 09:07 AM |
for angle = 0, 9 do local p = Instance.new('Part', Workspace) p.Size = Vector3.new(1, 1, 1) p.Anchored = true p.CFrame = CFrame.new(0, 120, 0) --Start at the center of the circle * CFrame.Angles(math.rad(angle* 10), 0, 0) --Rotate the brick * CFrame.new(0, 0, 100) --Move it out by 100 units wait() end
is that what you wanted? I just edited it from the wiki's circle script. Using 9 instead of 10 parts because it made more sense. |
|
|
| Report Abuse |
|
|