im korean student studing programing use away3d.
i got a problem when i coding show up some 3D Object
this is problem code :
protected function init_gun_assembly_locate():void{
turret_S_wheel.z = -3.125;
turret_S_wheel.rotationX = 90;
turret_barrel.x = 150;
turret_barrel.z = -18.75;
turret_barrel.rotationZ = 90;
turret_barrel_body.x = 37.5;
turret_barrel_body.z = -18.75;
turret_guard.z = -31.5;
}
protected function init_assembly_gun_set():void{
assembly_gun_RL = new ObjectContainer3D(turret_S_wheel,turret_barrel,turret_barrel_body,turret_guard,{z:0});
assembly_gun_RU = new ObjectContainer3D(turret_S_wheel,turret_barrel,turret_barrel_body,turret_guard,{z:0});
assembly_gun_RU.y = 100;
assembly_gun_set = new ObjectContainer3D(assembly_gun_RL,assembly_gun_RU);
scene.addChild(assembly_gun_set);
}
i make two Container use one variable setting
multiple “assembly_gun_XX” but just show up one Object.
some body help me!