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.

Newcomers DBPro Corner / Play a .x animation

Author
Message
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 1st Feb 2005 06:10
I have a .x file with an animation in it. I know how to display a a .x object but how do I get the animation to play?
Nameless
20
Years of Service
User Offline
Joined: 11th Apr 2004
Location: U.S.A.
Posted: 1st Feb 2005 06:31
PLAY OBJECT Object Number, Start Frame, End Frame

or if you want to continually play it.

LOOP OBJECT Object Number, Start Frame, End Frame
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 1st Feb 2005 08:32
I was just using PLAY OBJECT 1, as my loaded object is 1.

But I have also tried:
PLAY OBJECT Object 1, 1, 90
and
LOOP OBJECT 1, 1, 90
With no success. Here is my code.
Antdizzle
20
Years of Service
User Offline
Joined: 6th Mar 2004
Location: Las Vegas
Posted: 1st Feb 2005 09:05 Edited at: 1st Feb 2005 09:07
You probably don't get to see the animation playing. You should try looping the object instead of just playing. And are you sure that the object is animated?
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 1st Feb 2005 09:20
Yes the object is animated and I am saving it as an animated .x file. though I am wondering if my exported is not making the .x correctly. Would I see a still image if the export was not working?

Finally can you change my code to you looping suggestion?
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 1st Feb 2005 10:09 Edited at: 1st Feb 2005 12:00
OK by looping I got 1 of my two objects to move. So why not the other?

Anyone want me to email my code and .x object?

Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 1st Feb 2005 12:14
OK now the piece of info I did not tell you. I am working with a beta DirectX export. So I think that may be the issue here. I still would like someone to look to my .x file to determine what is wrong with it.

Thanks
Antdizzle
20
Years of Service
User Offline
Joined: 6th Mar 2004
Location: Las Vegas
Posted: 1st Feb 2005 15:01
You can send me the .x file and I will test it out for you.
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 1st Feb 2005 19:47
Thank you, Antdizzle!

I finally got it to work. It was the plugin. This helped squash the last bug. I appreciate everyone help a lot.

Login to post a reply

Server time is: 2024-11-27 20:43:36
Your offset time is: 2024-11-27 20:43:36