ASE icon indicating copy to clipboard operation
ASE copied to clipboard

Characters are spawned in the sky?

Open nicolasfischoeder opened this issue 1 year ago • 2 comments

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 avatar Sep 29 '23 15:09 nicolasfischoeder

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.

nicolasfischoeder avatar Sep 29 '23 15:09 nicolasfischoeder

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.

xbpeng avatar Oct 02 '23 23:10 xbpeng