"Accelerated Mod" Skipping Frame in Animation

Hello All,

Let’s say we have two clients C1,C2 and the server S.
The server sent order “play animation A1” to Client 1 with a “unique time” for its command. Animation A1 last 1 second at 30fps
Client 1 receive the order 125ms after the “unique time” (Lag is lag …)

I would like client 1 to playback animation 1 in two phases
phase 1: accelerated mode
Client 1 play the first 125ms of Animation 1 in less than 50ms
(maybe skipping frame if needed)
phase 2: normal mode
client 1 play the remaining 775ms in normal speed.

Is it possible to play the first 125ms from a 1s long animation in less than 50ms in Panda animation system (ie speed*3)?
Can i ensure this animation phase blend not too bad with the next one at normal speed? (ie at least the end frame of first phase is the right one for next phase?)

Else am i better skipping directly the first 125ms of the animation?

Thanks for your inputs…

You could certainly use a task plus “setPose” to advance through the animation yourself. That’s a little awkward, but it would work.

I don’t know if there’s a more convenient way to do that.

I think i’ll make a try with ActorInterval and PlayRate.

If i convert the animation lag into a play rate modifier (ex: you have to catch up 150ms in 50ms then you pR modifier is : 3)

I should be able to do a sequence with
-actorInterval(‘Anim1’, startFrame = 0, endFrame = 10,playRate=3)
-actorInterval(‘Anim2’,startFrame=10,endFrame=30, playRate=1)

Maybe i’ll have to add a sync function between the two parts. Like doing
a setPose(10) to ensure the blending on keyframe…

I think i’ll make a try with ActorInterval and PlayRate.

If i convert the animation lag into a play rate modifier (ex: you have to catch up 150ms in 50ms then you pR modifier is : 3)

I should be able to do a sequence with
-actorInterval(‘Anim1’, startFrame = 0, endFrame = 10,playRate=3)
-actorInterval(‘Anim2’,startFrame=10,endFrame=30, playRate=1)

Maybe i’ll have to add a sync function between the two parts. Like doing
a setPose(10) to ensure the blending on keyframe…

Also is actorInterval supported for blended animation?