Away3DLite is a lite version in all aspects in comparison to Away3D.Although
I am not sure if you can't manipulate bones in it...

On Wed, Aug 4, 2010 at 1:04 PM, microsheep <[email protected]> wrote:

> Hi,
>
> I've purchased and downloaded the Away3D book, and I'm diving deep
> into it.
> I was trying to port the Collada bone example from chapter 9 (skeleton
> example) to Away3DLite.
>
> The problem I've encountered was that I wasn't able to influence the
> mesh by rotating / scaling the bones...
>
> The following code works great using Away3D:
>
> --------------------------------------------------------------------------------
> protected override function _createScene() : void
> {
>        var collada : Collada = new Collada();
>        _loader = new Loader3D();
>        _loader.addEventListener(Loader3DEvent.LOAD_SUCCESS,
> _onLoadSuccess);
>        _loader.loadGeometry('./assets/skeleton.dae', collada);
>        _view.scene.addChild(_loader);
> }
>
> private function _onLoadSuccess(ev : Loader3DEvent) : void
> {
>        _skeleton = _loader.handle as ObjectContainer3D;
>        _skeleton.y = -200;
>        _skeleton.scale(20);
>
>        _left_arm = _skeleton.getBoneByName('arm_l');
>        _right_leg = _skeleton.getBoneByName('leg_r');
>
>        _left_arm.rotationZ = 45;
>        _right_leg.jointRotationZ = 45;
> }
>
> --------------------------------------------------------------------------------
> But fails using Away3DLite...
>
>
> I've noticed that the code for Bone.as is quite difference between
> Away3D and Away3DLite.
> Is it possible that Away3DLite doesn't support all the features of
> Away3D?
> Is there another problem there?
>
> Appreciate any help with this issue,
> Thanks,
> EZ
>
> P.S.
> I'll also appreciate any reference to tutorials about loading models
> and controlling them using bones




-- 
Michael Ivanov ,Programmer
Neurotech Solutions Ltd.
Flex|Air |3D|Unity|
www.neurotechresearch.com
http://blog.alladvanced.net
http://www.meetup.com/GO3D-Games-Opensource-3D/
Tel:054-4962254
[email protected]
[email protected]

Reply via email to