I have thought up and created a sort of 3d engine although there is some stuff kinda bugged (I think its something to do with the Y rotation)
Controls:
WASD for movement (if you rotate though it doesn’t move you in your straight direction)
YGHJ for rotation
I might work a bit more on it later but this is what I have for now
File: 3D_engine_v0-1.wick (6.1 KB)
Adding your own cube
You can use some code similar to this
let cubeData = {
center: {
x: 0,
y: 0,
z: 9
},
width: 2,
height: 2,
length: 2
};
main.AddCube(cubeData);
Width is width, everything like that. center is just the center point of the box