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 / How to change a model on the fly?

Author
Message
Hazviz
18
Years of Service
User Offline
Joined: 12th Jun 2006
Location: Alnwick, UK
Posted: 16th Jun 2006 17:30
Hey everyone,
I am having a little difficulty figuring out how to change a model on the fly...

If you don't know what I'm talking about, I mean...

I have a character model ("Spectre-Idle.x" from DarkMATTER) and it works perfectly. But when I move the character with the arrow keys or the mouse, I would like the model to change(To "Spectre-move.x") and I am not sure how to do this.

Also, I would like the model to go back to its "idle" state when their is no input from the user.

Any ideas? All help is greatly appreciated.
Thanks
monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 16th Jun 2006 19:47 Edited at: 16th Jun 2006 21:08
One way is to append the object animations to the end of your model, an example of how to this is below.



Hope this helps.

My W.I.P project
Hazviz
18
Years of Service
User Offline
Joined: 12th Jun 2006
Location: Alnwick, UK
Posted: 16th Jun 2006 20:26
Hey Monotonic,
I'm not at my main comp to test this right now, but it looks like its going to be exactly what I need!

So thanks alot!

I'll edit this post when I've had a chance to test it out

Login to post a reply

Server time is: 2024-09-25 01:35:07
Your offset time is: 2024-09-25 01:35:07