Gamestudio Links
Zorro Links
Newest Posts
NOMAX undeclared identifier.
by Petra. 01/09/26 21:12
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 01/07/26 15:14
Zorro locks DLL
by jcl. 01/07/26 13:33
zorro with ccxt?
by qin. 01/07/26 07:50
The new evaluation system
by jcl. 01/05/26 08:50
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (Petra, TipmyPip, AndrewAMD, M_D), 3,282 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Namitha_NN, Syndrela, agasior, mosfet, MonsterX
19188 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Attaching an entity to another one #149744
08/23/07 00:20
08/23/07 00:20
Joined: Aug 2007
Posts: 11
Quebec, Canada
Devious_Duck Offline OP
Newbie
Devious_Duck  Offline OP
Newbie

Joined: Aug 2007
Posts: 11
Quebec, Canada
Hi,
How can i attach an entity (a gun) on a particular vertex on another entity (a guy) ?

Thanks


Thrones of Ragnarok -Under Construction
Re: Attaching an entity to another one [Re: Devious_Duck] #149745
08/23/07 01:26
08/23/07 01:26
Joined: Mar 2007
Posts: 677
0x00000USA
M
MrCode Offline
User
MrCode  Offline
User
M

Joined: Mar 2007
Posts: 677
0x00000USA
Look at the manual!

Use vec_for_vertex. That should be what you're looking for.

But if you're looking to match the gun's pan, tilt, and roll with the arm's, then you'll need to do some calculations (vec_for_vertex doesn't do that automatically).


Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}
Re: Attaching an entity to another one [Re: MrCode] #149746
08/23/07 01:32
08/23/07 01:32
Joined: Aug 2007
Posts: 11
Quebec, Canada
Devious_Duck Offline OP
Newbie
Devious_Duck  Offline OP
Newbie

Joined: Aug 2007
Posts: 11
Quebec, Canada
Thanks !
I looked in the manual, but its hard to find a function when you have no idea how its called, or if it even exists.

Thanks again.


Thrones of Ragnarok -Under Construction

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