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)