Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (AndrewAMD), 3,675 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
problem with bones animation #374655
06/20/11 19:09
06/20/11 19:09
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Hi,

I've got a little problem with bones animation.

I use a character model with 2 scenes: "walk", "talk".

This is part of the code I use:

Code:
ent_animate(my,NULL,0,0); // reset all bones
	ent_animate(my,"walk",my.CHAR_ANIM_PERCENT,ANM_CYCLE);		
	if (my.isSpeaking == 1) {
		ent_animate(my, "talk", my.SPEAK_ANIM_PERCENT, ANM_ADD+ANM_CYCLE);
	}



If "my.isSpeaking" gets 1, the talk animation is added to the walk animation.

The problem is that once the talk animation starts the character model crosses his hands (left hand to right body side, right hand to left body side). The rest of the animation is played correctly.

Is there something wrong with the code? Or does someone have an idea where the problem with the model could be?

Regards,
Pegamode.


Re: problem with bones animation [Re: pegamode] #374665
06/20/11 20:03
06/20/11 20:03
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Seems to be a problem with the model ... hmmm ... searching now.

Re: problem with bones animation [Re: pegamode] #374681
06/20/11 21:29
06/20/11 21:29
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
We've found the problem. It was indeed something wrong with the model.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1