About Store Forum Documentation Contact



Post Reply 
Set animation to looping via code
Author Message
Brainache Offline
Member

Post: #1
Set animation to looping via code
Hey there,

How can I change the looping flag of an animation via code?

( ie... i am loading an amination with thousands of frames, clippping out a range of frames, saving those to a file... and I need to set that file to looping.. instead of going back and loading each file in mesh editor and doing animation->toggle looping)

I see the ANIM_LOOP value for the _flag private field... and see that the loop() function tests for it.. but it doesnt appear that I can set the _flag bit due to it being private...

Suggestions?

Thanks!
04-18-2010 03:18 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: Set animation to looping via code
Hello,

I'll enable a method for changing the looping in next version
04-18-2010 03:24 PM
Find all posts by this user Quote this message in a reply
Brainache Offline
Member

Post: #3
RE: Set animation to looping via code
Great.. Thanks!
04-19-2010 02:03 PM
Find all posts by this user Quote this message in a reply
Post Reply