hi all guys , im a total noob with away 3d , and i have some questions
(if they are stupids , forgive me) ...
1. first of all : BSPTreeCollider : i coding a racegame ( a prototype
for now) , and i found some resource here and there , on prefab usage
etc etc ... the question is : Can i initialize an empty tree(without
any prefab file) , and add objects later? Cause the compiler , when i
try , fail on adding a null object... to be clear:

usually ( on every posts i saw around) , everyone make so :

        _tree = BSPTree(AWData.parse(new BSPFile(), {customPath:"./
images/"}));
        _view.scene.addChild(_tree);


but can i do something like :

_tree = new BSPTree();
_view.scene.addChild(_tree);
var s:Sphere = new Sphere( { radius:500 , y: -500 } );
s.collider = true;
_tree.addChild(s);

this is really driving me crazy , any helps really appreciated.

Reply via email to