Profile Picture

RIClip.SetSpeed RIClip.SetLength

Posted By ade.p Last Year
You don't have permission to rate!
Author
Message
ade.p
ade.p
Posted Last Year
View Quick Profile
Junior Member

Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)

Group: Forum Members
Last Active: 2 days ago
Posts: 13, Visits: 227

 

The RIClip.SetSpeed() method sizes the motion itself, butnot the gestures or motion layers that belong to it.  For example

 

I would expect this to make the animation play twice asquickly (ie speed = 200%)

 

avatar_list = RLPy.RScene.GetAvatars()

avatar = avatar_list[0]

skeleton = avatar.GetSkeletonComponent()

clip = skeleton.GetClip(animations_count - 1)

clip.SetSpeed(2.0)

 

but this is what happens:
https://forum.reallusion.com/uploads/images/eeda4928-c0fb-474b-94ed-d50b.png

The animation still plays at 100% speed. 

What do I need to do to make the whole (MotionPlus) animation play at twice thespeed please?

yepkoo
yepkoo
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)

Group: Forum Members
Last Active: Last Month
Posts: 1.2K, Visits: 1.9K
I don't know the Python command, but if you want to do it manually on the timeline;
Right click the animation on the timeline and increase the speed from the speed section.
The other method is to activate the speed button on the timeline and shorten the animation to the left.

----------------------------------------------------------------
https://www.youtube.com/yepkoo
https://dev.epicgames.com/community/profile/bxvo/Yepkoo#learning


Edited
Last Year by yepkoo
ade.p
ade.p
Posted Last Year
View Quick Profile
Junior Member

Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)Junior Member (151 reputation)

Group: Forum Members
Last Active: 2 days ago
Posts: 13, Visits: 227
thanks. I don't want to do it manually because I'd need to do it at least hundreds of thousands of times each week!



Reading This Topic