Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/06/26 07:18
zorro with ccxt?
by opm. 03/03/26 03:17
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Enayn, qin, USER0328), 5,722 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 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 | 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