This repository has been archived on 2021-06-17. You can view files and clone it, but cannot push or open issues or pull requests.
cubes-and-stuff/core/assets/scripts/Init.lua

7 lines
149 B
Lua
Raw Permalink Normal View History

local world = root:find("World")
local cube = object:Cube()
cube:positionSet(object:Vector3(3, cube:positionGet():yGet() + 10, 3))
world:add(cube)