Howdy!, Iīm working on a 3th person shooter and Iīd really like to use smooth animations on my model, thatīs the idea of a 3th person game, isnīt it?
I have some issues with animation, can you help please?
Animating a model by parts, like, a "run" animation that moves only the legs, and a "shot" animation that moves only the arms, allows me to run and shot at the same time mixing the animations using lite-c, right? (I know how to do this, the question is the following:)
- Using this method I can blend BETWEEN animations, like "run" and "walk" interplorationg the scenes. right?
can you show me an example of interploration or blending between scenes?
- Can I interplorate between scenes WITHOUT using the animation by parts? if I create a "runshot" animation (and separated "run" and "shot" animations) can I interplorate that scene with "run" and so on? How? (Iīd apreciate some code example)
- I need a semi-lateral movement (W + A ó W +D on a WASD imput) iīd like to rotate the model a bit so a new animation scene isnīt needed, but i only get an endless rotating movement
how can a increase or decrease the pan angle just a couple of grades to get this kind of movement?
- The last one; On the following function:
function bones_test()
{
my.pan -= 180; // face the player
while(1)
{
ent_animate(my, NULL, 0, 0); // reset all the animations
if (key_w)
{
run_speed += 3 * time_step; // increase run_speed; 3 sets the speed
ent_animate(my,"runl",run_speed,ANM_CYCLE);
}
if (mouse_left) // got to fire?
{
shot_speed += 9 * time_step; // increase shot_speed; 9 sets the speed
ent_animate(my, "sht", shot_speed, ANM_ADD); // animate the model (use "sht")
}
The shot animation is added to the run animation, but using ANM_ADD the shot animation isnīt cycled, itīs played only once. How can I cycle an animation that is ANM_ADDed to a previous one?
Thatīs all, Thanks very much in advance! my characters say thanks too