Difference between revisions of "3D Space Example.as"
From Organic Design wiki
(Space's reduce should be called automatically now) |
(Instantiate with space.create()) |
||
Line 4: | Line 4: | ||
// Instantiate a new 3D-space | // Instantiate a new 3D-space | ||
// - extends createEmptyMovieClip( name, layer ) | // - extends createEmptyMovieClip( name, layer ) | ||
− | + | create.space( 'mySpace', 1 ); | |
− | |||
− | |||
// Test object | // Test object | ||
mySpace.create( [ 'torus', 'myTorus', 5, 200, 2000 ] ); | mySpace.create( [ 'torus', 'myTorus', 5, 200, 2000 ] ); |
Revision as of 22:06, 28 March 2006
Mouse.hide();
- include "space.as"
// Instantiate a new 3D-space // - extends createEmptyMovieClip( name, layer ) create.space( 'mySpace', 1 );
// Test object mySpace.create( [ 'torus', 'myTorus', 5, 200, 2000 ] );