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.

Dark GDK / Attaching an object to another

Author
Message
Mcadieux
16
Years of Service
User Offline
Joined: 29th Dec 2007
Location:
Posted: 30th Dec 2007 02:14
I've searched the forums on this topic but can't seem to find any related posts. I want to attach one object to another. SO when I move one object the other objects move the same amount. An example would be if I had a Car and wanted that to be the Parent and to attach Headlights, so when I moved the car the lights move too. I found the dbGlueObjectToLimb function, but what if my object doesn't have
"limbs"? Thanks in advance for any help anyone could offer.
Comp Guru 910
16
Years of Service
User Offline
Joined: 23rd Dec 2007
Location:
Posted: 30th Dec 2007 05:44
You create an object, and make it a limb, I do not know the exact process for this, but I know its simple.

typos...
Mcadieux
16
Years of Service
User Offline
Joined: 29th Dec 2007
Location:
Posted: 30th Dec 2007 08:33
Thanks for the reply, I figured it out. I just needed to set the limb int to 0 and it attached it to my object. So to attach object 4 to object 3 I just put "dbGlueObjectToLimb ( 4, 3, 0 )".

Login to post a reply

Server time is: 2024-10-08 15:55:43
Your offset time is: 2024-10-08 15:55:43