3d maxscript load for bones animation data.

Post questions about game models here, or help out others!
Post Reply
Roman
advanced
Posts: 56
Joined: Wed Aug 19, 2015 7:54 am
Has thanked: 10 times
Been thanked: 3 times

3d maxscript load for bones animation data.

Post by Roman » Tue Sep 06, 2016 2:16 pm

I have animation data for bones.
Data like this: int32 time1, float32 quat1(x,y,z,w) and float32 pose1(x,y,z)
int32 time2, float32 quat2(x,y,z,w) and float32 pose2(x,y,z)
Maxscript load(import) this data and apply to bones.
Question how right apply to bones animation data ?

Model have 14 bones.

I get first bone then do $.transform = quat1 x y z w
Then i get second bone and do $.transform = quat2 x y z w
And do like this for all bones.
But animation look wrong.

May be i not right transform bones in maxscript or my algorithm wrong ?

Maxscript load data correct from file.
Good if say me algorithm, how right transform bones in maxscript.
Step by step.
Last edited by Gh0stBlade on Tue Sep 06, 2016 3:31 pm, edited 5 times in total.
Reason: Double post merge.

Post Reply