Say if I set animation playback to loop continuously (and press play) and the operator itself creates a series of keyframes on different objects and as you change sliders it updates them (live) so that the final animation being played back changes automatically.
Is something like that possible?
If so, can each keyframe be assigned a variable and the variables be updated by the sliders on the fly?
(Think I may have asked the same question twice!)
EDIT: Just checked the SDK under "scripted operators, restrictions on using"
Could it be done using : KinematicState.get_Transform and KinematicState.set_Transform?
EDIT2: Would a compiled operator be better for controlling multiple objects?
EDIT3(!): I've applied a scripted operator to the Local Transform.
I can get the contents of it by having this in the scripted operator:
Code: Select all
Input = Inlocal.valueCode: Select all
OffsetZ = In_UpdateContext.OffsetZ.valueHow do I apply the Offset to the posz of the objects Local Transform?
Code: Select all
Out.value = Input.pos.posz + OffsetZ