[Papervision3D] Loading multiple collada objects
CodeyCody
ben.cassar at gmail.com
Wed Oct 22 00:49:21 PDT 2008
Excuse me as regards the docs, I was accidentally referring to an older
version.
I'm using the following code, and am still getting no results:
colla = new Collada("Car.dae");
for (var i = 0; i < 2; i ++ )
{
var temp_colla:DisplayObject3D = colla.clone();
temp_colla.x = Math.round(Math.random() * 200);
temp_colla.z = Math.round(Math.random() * 200);
scene.addChild(temp_colla);
}
When entering debug mode, it appears that the collada object ("colla")
calling clone(), has a null geometry...how is this possible?
Maybe because the material and materials haven't loaded properly yet?
(They're both null)
But I doubt it.
dsdsdsdsd wrote:
>
> would it not be quicker to load one collada model and then to clone it 200
> times;
>
> Shannon
>
--
View this message in context: http://www.nabble.com/Loading-multiple-collada-objects-tp20089903p20105654.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list