In the python example on sequences and parallels in the manual it looks like you can add a function call to a sequence:
delay = Wait(2.5)
pandaWalkSeq =
Sequence(
Parallel(pandaWalk, pandaWalkAnim),
delay,
Parallel(pandaWalkBack, pandaWalkAnim),
Wait(1.0),
Func(myFunction, arg1)
)
is there a way to do this in c++?
Basically, I want to
call a parallel,
when it finishes, call my function,
after it executes
call another interval
is this possible?
thanks