How to load motion to a avatar at a specific postion?


https://forum.reallusion.com/Topic535863.aspx
Print Topic | Close Window

By zeneye - 2 Years Ago
I try it but it seemed not work!
Very strange. it always start from 0  and motion played slowly. What is the correct sollution? Thanks a lot! IClone 8.2

    avatar = avatar_selection_check("Please select a valid Avatar to apply a motion.")
    if avatar is not None:
        time = RLPy.RGlobal.GetTime()
        print("time",time.ToFloat())
        RLPy.RFileIO.LoadMotion(directory, time, avatar)