Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / [SOLVED] glue object to object

Author
Message
pavel_sv_1982
11
Years of Service
User Offline
Joined: 9th Apr 2013
Location: Russia
Posted: 26th Sep 2018 21:47 Edited at: 27th Sep 2018 10:55
I need to make a simple fps shooter. but I faced a very difficult problem. I can't glue the weapons to the models of gameguru. What team will glue them to the hand and not to the head?
for example, the model of the weapon should be attached to the model of the soldier from gameguru.
with respect Paul

Attachments

Login to view attachments

The author of this post has marked a post as an answer.

Go to answer

smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 27th Sep 2018 13:25
This post has been marked by the post author as the answer.
Quote: "FixObjectToObject(objid1,objid2)"

or perhaps
Quote: "FixObjectToBone( objID, toObjID, toBoneIndex ) "

and if it's a GG model the bone name should be "firespot" so you can get the bone index with
Quote: "integer GetObjectBoneByName( objID, name ) "

life's one big game
spec= 4ghz, 16gb ram, AMD R9 2700 gpu
pavel_sv_1982
11
Years of Service
User Offline
Joined: 9th Apr 2013
Location: Russia
Posted: 27th Sep 2018 18:04
thx

Login to post a reply

Server time is: 2024-11-23 04:46:55
Your offset time is: 2024-11-23 04:46:55