Notifications
Clear all
[Closed] How to check if there is animation on an object?
Page 2 / 2
Prev
Jan 07, 2022 9:30 pm
remove all animation keys
this is where the problem is,
have to be removed manually
1 Reply
it sounds like you already know what nodes need to be cleaned from animation. In this case it’s easier to replace transform controller with a new default instance of PRS controller:
-- let's do it for one selected node
animate off, redraw off, at time 0
(
tm = $.transform
$.transform.controller = createinstance prs
$.transform = tm
)
don’t specify the time if you want to clear the animation at the current time.
Page 2 / 2
Prev