81
Coding / [B3D] Question involving dynamically animated models
« on: November 01, 2009, 08:03:12 pm »
Well; I've just recently obtained a copy of Blitz3d (a bit outdated, but rapid), and I'm having some fun in it. Easy to code in, etc.
One problem-
Before I get too far into learning this language, I need to know- Is it possible to dynamically animate models loaded instead of going off of keyframes?
The reason I ask this is kinda simple;
Lets say I have a "knight". I want the knight to have basic actions like running, walking, attacking. I also however want more complex actions like attacking while running.
Here's where there's an issue...
While the knight runs, he has a set animation. There's also a set animation for attacking. If I were to create a whole new animation for attacking-while-running, there would be hiccups in his animation, because the engine would try to animate him based on a new keyframe.
What I need to do is animate simply his arms for his attacking animation. I need to know if that's even possible in Blitz3d. Basically I'd animate just the arms separately, so I can load that mini-animation in Blitz to move just his arms while his legs move along the "run" animation.
This is also practical for things like cloth that's attached to the model; having it move dynamically with the models movement without being restrained to the predetermined animation.
Actually; it's pretty much essential... Even for having a player with a "head" that can look around while the rest of the body follows an animation.
Is this possible at all in Blitz3d? O.o;; Everything I've found so far involves static animation.
On a side note; I've also seen it's possible to identify individual entity's via Blitz3d, and I'm wondering if I need to go about it in that way--- create routine for entity, locate entity, animate, etc.
One problem-
Before I get too far into learning this language, I need to know- Is it possible to dynamically animate models loaded instead of going off of keyframes?
The reason I ask this is kinda simple;
Lets say I have a "knight". I want the knight to have basic actions like running, walking, attacking. I also however want more complex actions like attacking while running.
Here's where there's an issue...
While the knight runs, he has a set animation. There's also a set animation for attacking. If I were to create a whole new animation for attacking-while-running, there would be hiccups in his animation, because the engine would try to animate him based on a new keyframe.
What I need to do is animate simply his arms for his attacking animation. I need to know if that's even possible in Blitz3d. Basically I'd animate just the arms separately, so I can load that mini-animation in Blitz to move just his arms while his legs move along the "run" animation.
This is also practical for things like cloth that's attached to the model; having it move dynamically with the models movement without being restrained to the predetermined animation.
Actually; it's pretty much essential... Even for having a player with a "head" that can look around while the rest of the body follows an animation.
Is this possible at all in Blitz3d? O.o;; Everything I've found so far involves static animation.
On a side note; I've also seen it's possible to identify individual entity's via Blitz3d, and I'm wondering if I need to go about it in that way--- create routine for entity, locate entity, animate, etc.