Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (fogman, Grant, AndrewAMD, juanex), 989 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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 | chip programmers | 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