for animating a collada file, you have to pass your timecode to the update method of the SkinAnimation object. If you use a simple getTimer() method, you'll have a timecode in milliseconds that needs to be devided by 1000 to be compatible with the update method (which requires seconds)
if there is still a discrepancy with the playback speed, try a different divisor for the returned getTimer() value atb Rob On Mon, Jan 25, 2010 at 2:30 PM, Frsk <[email protected]> wrote: > Hi all > > I have an away3d setup which imports a collada file. > The collada file has a skinanimation which plays fine. > The file is from maya 2008 and has been animated at 25fps. > So i assumed that setting the flash movie at the same framerate would > have made the animation play at the same speed as it was in Maya. > > Seems I assumed wrong since the imported animation is playing faster > than is supposed to be. I've poked around with it a bit and I guess > it's because the animation is handled through timings and not frames. > (the funny thing is that the collada file is displaying the animation > perfectly > timed in the AIR collada viewer app, but that is a papervision based > app). > > Is there a way to make the animation play at its proper speed, are > there some > collada settings i forgot to check, or any other relevant suggestion? > > > Thanks in advance > > -- > Dav > > > > > -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
