Rust like building system

  1. What do you want to achieve? Keep it simple and clear!
    I would like to know how to make a rust like building system. So like you can freely place a foundation/base part and then you can snap walls or other foundations/bases to it.

  2. What is the issue? Include screenshots / videos if possible!
    I don’t know how to do it.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have tried YT and Devforum.

1 Like

Whats this? Its not the rust like building system…

You said you wanted it to snap a foundation? It forms those.

Bruh, those are plugins, i mean like a placement system, where you character can build it in the game, like in rust lol.

I have seen this before but sadly the parts do not snap together :frowning:

You could add a snapping feature using math. It’s basically like rounding numbers, but you choose what number they round to.

local position = -- calculate position for object when mouse moves
local x, y, z = position.X, position.Y, position.Z
local grid = 5 -- studs
return Vector3.new(
    math.floor(x/grid)*grid,
    math.floor(y/grid)*grid,
    math.floor(z/grid)*grid
) -- Snapped position
1 Like

Roblox made a recourse which could be modified to look like rust building system.