Robert wrote:
How do i rotate the cube object onto its corner.
Street & Traffic library, AFAIR included in the Silver Bullet edition, has a "sculpture" that is exactly a cube on the corner.
Did not look at the cube script, but:
Open the 3D script, and at the top add:
RotX Xrotang
RotY Yrotang
RotZ Zrotang
Add the Xrotang, Yrotang and Zrotang parameters, of the type Angle, to the object.
To get the transformations clear, add DEL 3 at the end of the 3D script.
Comment the 2D script, and add PROJECT2 2, 270, 3.
This way you can rotate the cube (or anything else) as you like, AROUND THE ORIGIN.
HTH,
Djordje
ArchiCAD since 4.55 ... 1995
HP Omen