Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 13,972 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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