I have had a problem with this:
http://gyazo.com/d62e574ca84f1192e6144ee141d1f23f
My calculations went wrong when trying to make a world map, so there are empty spaces between wedges and it is a pain to fix them
I have tried every way of making it quicker by reisizing, but its just too much work.
So my question is, is there any way to stick them together or fix their places?
They're either unanchored, or your code is wrong. Looks like the latter.
Make sure you're CFraming the parts and not just changing their Position
. Also, anchor them before you CFrame
them into position. Make sure that you're also rotating the wedges with CFrame.Angles
, and you're not just setting the Rotation
. Use math.rad()
to convert from degrees to radians, which is what CFrame.Angles
uses.
E.g:
wedge.CFrame = CFrame.new(10, 5, 5)*CFrame.Angles(0, math.rad(90), 0)
Not
wedge.Position = Vector3.new(10, 5, 5)
wedge.Rotation = Vector3.new(0, 90, 0)