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.

DarkBASIC Professional Discussion / Limbs / Objects Etc

Author
Message
Codger
23
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 17th Sep 2003 22:18
I am trying to accomplish the following

I have three objects (Vase, Apple, cup) that I wish to place on another object (Tray) so that when the tray moves they stay on the tray.

I have been trying to understand the limb commands but, they only appear to relate to meshes.
What is the simplest approach to accomplish the effect I described.

System
PIII 650 MZ H.P. Pavillion
394 Mem GeForce 4 400MX
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 17th Sep 2003 23:00
Best bet is to 'glue them'



This allows you to 'glue' an object to a specified limb on another object (limb 0 is main limb)

Warning! The online help is correct but the status bar help for the command has the parameters wrong way round.

Also note that collision on glued objects is a bit iffy - see bugs forum for details.

If your mansion house needs haunting, just call Rentaghost!
Codger
23
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 17th Sep 2003 23:08 Edited at: 17th Sep 2003 23:30
Thanks Spooky I was getting confused with the limb number.

Your example should be added to the code base it is very clear

I added an additional line to show how the limbs are independent of the main object


System
PIII 650 MZ H.P. Pavillion
394 Mem GeForce 4 400MX

Login to post a reply

Server time is: 2026-07-26 05:03:27
Your offset time is: 2026-07-26 05:03:27