Edit: Sorry I just realised this is not what you are after as the box inside is skewed.
You mean like this: (Edit - no not like this )
Further edit: Perhaps see if you can achieve what you are after with a 3d modeling package, even milkshape, and work it out from there (not the best way I guess)
Further further edit: Having a look at it on paper I agree with Shambler - without skewing it I don't think it is possible to fit a cube inside a 2x1x1 cuboid with all corners of the cube touching the sides of the cuboid
You mean like this: (Edit - no not like this )
Further edit: Perhaps see if you can achieve what you are after with a 3d modeling package, even milkshape, and work it out from there (not the best way I guess)
Further further edit: Having a look at it on paper I agree with Shambler - without skewing it I don't think it is possible to fit a cube inside a 2x1x1 cuboid with all corners of the cube touching the sides of the cuboid
Graphics3D 800,600,32,2 WireFrame True camera=CreateCamera() MoveEntity camera,0,0,-50 cube1=CreateCube() cube2=CreateCube() ScaleMesh cube1,2,1,1 RotateMesh cube2,0,45,0 FitMesh cube2,-2,-1,-1,4,2,2 Repeat angle=angle+1 x#=10*Sin(angle) z#=10*Cos(angle) y#=10*Sin(angle) PositionEntity camera,x,y,z PointEntity camera,cube2 RenderWorld UpdateWorld Flip Until KeyDown(1)