So I recently learned noise and how it works, but I’m a bit stuck on how to convert 1D noise to 3D noise. My script right now graphs 1D noise but I want it to start making 3D noise like terrain generation. Here is my script:
local YOff = 0
local Inc = 0.1
local XOff = 0
local ZOff = 0
while true do
wait()
local Clone = script.Parent:Clone()
Clone:FindFirstChild("Script"):Destroy()
Clone.Parent = game.Workspace
Clone.Position = Vector3.new(script.Parent.Position.X,math.noise(YOff) * 50,script.Parent.Position.Z)
script.Parent.Position += Vector3.new(0,0,3)
YOff += 0.01
end
Oooh tysm. So you basically just loop through x y and z and you kinda graph one more layer each time and eventually it will look like hills. Correct me if I’m wrong.