Hi,
I am new to Papervision, and am experimenting on importing animated 3ds max models into my project.
I can export a model (with no animations) into Collada format, and import it using Papervision, with no problems. But when I try to import a model with animations, i get this error:
[ERROR] DaeDocument#readNextAnimation : TypeError: Error #1010: A term is undefined and has no properties.
INFO: animations #1 of 1
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at org.papervision3d.objects.parsers::DAE/buildAnimationChannels()
at org.papervision3d.objects.parsers::DAE/onParseAnimationsComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at org.ascollada.io::DaeReader/loadNextAnimation()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
This is the code i am using to import the model:
var dae : DAE = new DAE(true);
dae.load("models/test.DAE");
I have attached the DAE file, for your reference…
I am using Flash CS 4 / Papervision3D Public Beta 2.0 - Great White / 3D Studio Max 2009 (with the New Collada Plugin).
Any help will be appreciated. Thanks in advance!