Panda3D Manual: Actor Intervals
  <<prev top next>>  

Actor intervals allow actor animations to be played as an interval, which allows them to be combined with other intervals through sequences and parallels. With an actor interval, an animation may loop for a specified amount of time, through a specified number of frames, and with its own play rate. On top of this, an interval has the ability to pause at any given moment and start from that paused point, another handy ability for an actor. The loop parameter is a boolean, 0 for false and 1 for true. All parameters after the duration are optional.

myInterval = myactor.actorInterval(
    "Animation Name",
    loop= <0 or 1>,
    duration= D,
    startTime= T1,
    endTime= T2,
    startFrame= N1,
    endFrame= N2,
    playRate = R
)

  <<prev top next>>