awaytools / AwayExtensions-3dsmax

17 stars 6 forks source link

Skeleton animation problem #13

Closed leucocyte closed 10 years ago

leucocyte commented 10 years ago

When you export the model with skeleton bones attached axes of rotation changed from the original. Additionally, in some cases, the angle of rotation (bones) increases twice about. I'm attaching preview of the problem (tested in away builder), 3dmax source file and exported awd.

http://taern.com/files/awd-test.rar

max vs away

80prozent commented 10 years ago

Hey. I will take a look this, later when i am home.

leucocyte commented 10 years ago

We've found what was the cause: Mesh pivot axes should be oriented same way as the root bone pivot axes. Otherwise we're getting those strange deformations after export to awd.

80prozent commented 10 years ago

hey again yeah, that is a restriction for the skeleton-export. Root-joint transform matrix must be the same as skinned-mesh transform matrix. Best is to put them both into one container (dummy) and both have identity-matrix as transform matrix. This way, the exporter will work, but you also can move the container/dummy, in your scene.

Hope that makes sense :)