Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / animation files

Author
Message
kv79
14
Years of Service
User Offline
Joined: 7th Dec 2009
Location:
Posted: 7th Feb 2010 12:00
Hello

If I got an object with animations. ( *.x)
How I can check with DarkBK ; where animation start and where it ends.
I need it to use in dbLoopObject ( 1, 1, 100);
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 7th Feb 2010 16:13
Quote: "dbLoopObject"


You should post Dark GDK questions on the Dark GDK board. This one is for Dark Basic Classic only, so you can't be sure that the answers you get here will be accurate.

In DBC we have the Total Object Frames() function which returns the last animation frame. The first frame is always 0.

If there are multiple animations in the model, then there is no way to retrieve them individually.

TDK

kv79
14
Years of Service
User Offline
Joined: 7th Dec 2009
Location:
Posted: 8th Feb 2010 08:25
Thanks for informing me. And sry about thread.

Login to post a reply

Server time is: 2024-04-27 08:04:45
Your offset time is: 2024-04-27 08:04:45