Notifications
Clear all

[Closed] XML animation fileformat and the Biped

Hello everyone. I`m using Max’s dotNet access to create an XML animation file-format.

I am trying to create a file format that will save both biped AND standard max objects animations in a single file. I’ve got the standard max objects working fine but (surprise surprise) the biped is giving me no end of grief.

I am looking too paste data from a file onto biped bones. This is proving irritating and extremely confusing. Using the biped.setTransform functions I am trying to set each bone’s transforms to stored values
but this just doesn’t work for all the bones. It works for the head, but attempting to apply the data to the foot bones applies it (inexplicably) to the toe bone. Positions appear to slide around randomly despite having exactly the same position applied every frame.

I am using a statement similar too this:


 
at time keyTime biped.setTransform bipNode #rotation keyRotation true
 

bipNode is a node reference, keytime is a time reference, keyrotation is a quaternion rotation. This does not throw an error, it just isn’t working.

I am really starting to dislike the biped immensely. Does anyone have any idea what might be going on here?