if script can run for each frame?

Discussions concerning programming of SOFTIMAGE©
Post Reply
ikfk
Posts: 36
Joined: 28 Jul 2012, 09:58

if script can run for each frame?

Post by ikfk » 20 Nov 2013, 09:30

i'm on some wav file driven animation, id like the script can loop for each frame.

i mean keep looping iterate by frame.

search for help file, no idea. so is that can be done? i dont think a script operate can do that

thank you

EricTRocks
Moderator
Posts: 754
Joined: 25 Nov 2009, 01:41
Contact:

Re: if script can run for each frame?

Post by EricTRocks » 20 Nov 2013, 15:04

You can. You have to find the Play Control object and set it's current frame parameter to the frame you want in a loop. Docs illustrate how to manipulate the play control quite well.
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken

ikfk
Posts: 36
Joined: 28 Jul 2012, 09:58

Re: if script can run for each frame?

Post by ikfk » 21 Nov 2013, 02:22

since now my script can read data from wav file to array :)

thank you eric, you save me again :D

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests