|
| 13 Nov 2012 04:22 PM |
| I know the title was weird, but I couldn't think of a better name. What I'm trying to do is build a new center console for myself, based off a TV show and I'm trying to make it accurate by making the console hexagonal. The problem is, I'm having trouble figuring out HOW to make it hexagonal. I have a hexagonal base I CFramed myself to work on, but I can't figure out what kind of wedges/corner wedges/etc. I'm looking at this model (http://www.roblox.com/Model-736-item?id=56425700) trying to get an idea of how to do this as well. I'd appreciate any help. |
|
|
| Report Abuse |
|
|
| 13 Nov 2012 04:45 PM |
Try this.
for angle = 1, 360, 60 do local p = Instance.new('Part') p.Parent = Workspace p.Size = Vector3.new(1,1,1) p.Anchored = true p.CFrame = CFrame.new(0, 75, 0) --Start at the center of the circle * CFrame.Angles(math.rad(angle), 0, 0) --Rotate the brick * CFrame.new(0, 0, 50) --Move it out by 50 units wait() end
--You can mess with the dimensions , but leave the first line alone and you will get a 6 sided circle. --If 6 isn't what you wanted then change 60 to any dividend of 360 |
|
|
| Report Abuse |
|