How can I make a spiral in studio?

I’m trying to create a spiral, like the one shown on the elevator in this picture. (Fallout 4)

I want to stay away from meshes while doing this. I’ve tried to use an arc tool, but it just gets really difficult to do.

I’m also trying to keep a low brick count.

Anybody have a pretty easy way to make spirals like this?

1 Like

You could probably somehow rig up the new Constraints feature in-studio to make it so the stair will revolve around the center point, allowing you to rotate and move it up/down. You can also just group 2 stairs on opposite sides together, group, move up, rotate, ungroup, repeat.

1 Like

That looks like it’s going to be extremely hard to make.

Good luck.

1 Like

Yes it’s possible with Studio but it would probably be quite time consuming and unlikely to have a low brick/tri count. This is one of those cases where a mesh is far superior. I can probably whip up a spiral like that in minutes in other programs.

Is there a reason for staying away from meshes?

1 Like

Meshes for things like stairs are clunky and collisions are often unpredictable, stopping you walking up a step or having your character levitate above the steps.

1 Like

Doesnt necessarily say ‘spiral staircase’ and collisions could be replaced by using a cylindrical tube union or invisible bricks instead of the spiral itself.

1 Like

You won’t get both of these conditions if you want the effect to be smooth. I recommend using a mesh, as it should be more efficient and probably easier to make.

1 Like

Pretty much the biggest problem with using a mesh for us is creating the mesh. Nobody on the team works with blender or any other mesh making applications.
So that pretty much throws using meshes out of the window, unless there’s already one uploaded on ROBLOX.

Also, this is going to be an elevator. It won’t be moving or anything, (it’ll be a teleporter) but it will still need to look good.

We’re trying to keep a low brick count, because we’re currently at 24.8k bricks. We recently reduced it down from 40k. We want the game to be playable for a majority of devices.

I could try restraints, but I have a feeling it’s going to look very choppy. We’re shooting for a nice curve.

Here’s the elevator ‘pod’ I made, but It doesn’t really look too good without the nice little swirl.
https://gyazo.com/18de1eff6cc0506fc17776367b16817b

1 Like

I just tried using a spring attachment, since that would seem like the most ‘swirly’.
It worked very well, except for a few setbacks.

Like I predicted, it seemed very choppy. It also had little cracks where the cylinders didn’t connect. Not sure if there is a way I could fix this.

Next, I had trouble with the door. The elevator has a door so people can get in and out, but the spring constraint covers the door. Also not sure if there’s a way to fix this?

If I should use a different constraint, please let me know.

1 Like
  1. Put down two ball shapes
    image

  2. Clone them, move them up, rotate them a bit. Repeat this a couple of times.
    image

  3. Insert a new part with a Cylinder shape. Give it a color/material etc. of your choice.

  4. Select two nearby spheres, then select the cylinder. Enter the following code in the command bar. Repeat this process until you’ve connected all spheres.

local P0 = game.Selection:Get()[1] -- sphere 1
local P1 = game.Selection:Get()[2] -- sphere 2
local C = game.Selection:Get()[3]:Clone() -- copy of your cylinder
local Dis = (P0.Position-P1.Position).Magnitude
C.Size = Vector3.new(Dis, 2, 2)
local Mid = (P0.Position+P1.Position)*0.5 
C.CFrame = CFrame.new(Vector3.new(Mid.X, Mid.Y, Mid.Z), P0.Position)*CFrame.Angles(0, math.pi/2, 0)
C.Parent = game.Workspace
  1. The result should look somewhat like this.
    image
14 Likes

This is a pretty cool way to do it, but I’m still seeing some problems with it.

  1. There’s still little cracks inbetween each cylinder.
    I understand that it probably won’t be perfect, but is there a way to fix the cracks? Or will I need to manually go in and resize them?

  1. The cylinders are too big! How can I make them smaller? (if it’s possible)
    I tried to resize the cylinder, which didn’t change it.
    I tried to resize the sphere, which didn’t change it.
    How can I resize it? I’m not a scripter, so I don’t know how to change it if it has something to do with the script.

1 Like

That’s what the spheres are for, to fill the gaps.

In the code it says C.Size = …
The number 2’s are the width. You can change that to make the line thicker or thinner.

4 Likes

You sir, are a life saver. This worked 100% thank you very very very very very much. :smile:

4 Likes