I was wondering if someone could help me incorperate some code into stencyl I tried putting it in a normal scene behaviour in a code block but would not work. The code is import sandy.core.Scene3D;
import sandy.core.scenegraph.*;
import sandy.primitive.*;
// -- creation of the scene. You give it a container, a camera and a root group to add your object into.
var scene:Scene3D = new Scene3D( "myScene", this, new Camera3D( 550, 400 ), new Group("root") );
// -- you add an object to the scene you've just created
scene.root.addChild(new Sphere( "mySphere" ) );
// -- and you ask the scene to render