Hey folks. I think there is a way to do this but I have forgotten.
I want to detect when the timeline increments or decrements. This happens when we play the animation,
or when we scrub through it. We have the RsAnim.time() method(s) I believe, or something similar. I don't have tS
in front of me at the moment.
Basically, if the timeline has changed, and we are at a frame I am interested in, I want to perform an activity.
Any ideas?
Thanks!
Froo
detect an animation frame change
- clintonman
- Captain
- Posts: 5428
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: detect an animation frame change
I don't know, but I can imagine a round about way to do it.
Create a custom attribute
Animate it to change at the frame you want and feed it into a change detection node.
Create a custom attribute
Animate it to change at the frame you want and feed it into a change detection node.
Re: detect an animation frame change
Thanks Clinton.
I'll try that.
I'll try that.