Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
4 registered members (AndrewAMD, Quad, soulman3, Ayumi), 675 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Connecting 2 models [Re: shiznitIII] #271102
06/11/09 09:57
06/11/09 09:57
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
hi! I used vec_for_vertex to get the target position in the body for the head but it seams that the head just stays on above the body and is not attached to it. Please help.

function frog_body()
{
var temp2;
bodymodel = my;
my.pan = -75; // face the camera
while(1)
{
vec_for_bone(temp, bodymodel, "chest");
ang_for_bone(temp_angle, bodymodel, "chest");
vec_for_vertex(temp2,bodymodel,6393);
vec_set(head_ent.x,temp.x);
vec_set(head_ent.x,temp2);
vec_set(head_ent.pan,temp_angle);
walk_speed += 2 * time_step; // increase walk_speed, "2" sets the animation speed
ent_animate(my, "run", walk_speed, ANM_CYCLE); // animate the model (use "jump")
wait(1);
}
}

Re: Connecting 2 models [Re: shiznitIII] #271146
06/11/09 14:33
06/11/09 14:33
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
hi guys! I have already connected the head entity to the body entity but the break in the texture or skin can be seen. Is there a way to connect the entities' skin or texture also?

Page 2 of 2 1 2

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