nv-tlabs / ASE

Other
795 stars 130 forks source link

Characters are spawned in the sky? #64

Open nicolasfischoeder opened 1 year ago

nicolasfischoeder commented 1 year ago

As opposed to the example when training with my own animation the a large portion of the characters are spawned in the sky and just keep raining down. What could be the cause of this and how to fix it?

nicolasfischoeder commented 1 year ago

So i played around with the settings in the config and i figured that after setting the "hybridInitProb" to 0 no more falling from the sky occurs. I looked deeper into the code and found that hybridInit initializes the actor at a random frame within the animation.

Now, my skeleton is quite large in its size (1cm = 1unit) (although i scaled it down a lot (with the scale parm, "scale": 0.056444, in the retarget config?)). I will attempt to scale down my skeleton in my 3d Tool and see what this does for me. If it doesnt do anything good, changes to the function get_motion_state of the MotionLib class must be made.

xbpeng commented 1 year ago

sounds like maybe the height in your motion data is wrong. You should check the z coordinates of the root position in your retarget data to make sure the character is on the ground and not floating in the air.