Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Empty spaces between wedges?

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?

3 comments

0

We can't know what went wrong with your implementation if we can't see your code.

1

It doesnt have a code, just is there a way to change something in the properties so they dont have empty spaces between?

1

They look unanchored to be honest.

1 answer

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)

This discussion is preserved as it was. New answers, comments, and votes are closed.