I've been using Away3dLite, and here's what I'm using to do this:

var colladaFileParser:Collada;
var loader:Loader3D;

var filePath:String = "Heirarchy/Move.DAE";
loader = new Loader3D();
loader.name = "AnimationModel";
loader.autoLoadTextures = false;
loader.addEventListener(Loader3DEvent.LOAD_SUCCESS,
event_loader_success);
loader.addEventListener(Loader3DEvent.LOAD_ERROR, event_loader_error);
colladaFileParser = new Collada();
colladaFileParser.scaling = 2.5;
colladaFileParser.centerMeshes = true;
loader.loadGeometry(filePath, colladaFileParser);

On Jun 25, 1:29 am, JKaris <[email protected]> wrote:
> Hi,
>
> I have done a heaps of searching but I must not be searching
> correctly.
>
> All I want to do is load an external Collada file and then apply a
> material to it.
>
> All examples I keep finding embed the Collada file and it's textures,
> but that is not what I need.
>
> There must be an example out there, if someone can point me in the
> right direction I would appreciate it.
>
> Cheers,
> JK

Reply via email to