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 DBPro Corner / How would you do this? 3D question

Author
Message
jlahtinen
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 10th Dec 2011 03:41
I'm pretty noob with 3d-maths or even 3d-commands of DB (been playing with basic since 1991 though )

If I have 2 objects. A sphere and a box.

The box is rotating (at the middle) and the sphere is moving on top of the box. The sphere would rotate as the box rotates (when the box is upside down, the sphere is too).

Is there any easy command in DBPro to "stick" the sphere on the box?

Check the attachment image if you have hard time to understand what I mean.

Attachments

Login to view attachments
WLGfx
17
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 10th Dec 2011 06:03
GLUE OBJECT TO LIMB Object Number, Second Object, Limb Number

The original object starts with limb 0, so glueing another object to it start from limb 1.

Also check out the documents on the LIMB commands.

Mental arithmetic? Me? (That's for computers) I can't subtract a fart from a plate of beans!
Warning! May contain Nuts!
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 10th Dec 2011 15:11
When using glue object to limb <Obj> , <TargetObj> , <TargetLimb> Beware that the positions and rotations of the object being glued are then relative to the object it's glued to. Here's an example using it:



TheComet

jlahtinen
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 3rd Jan 2012 13:29
Yeah, thanks. Seems easier than I thought.

Login to post a reply

Server time is: 2024-11-22 06:17:02
Your offset time is: 2024-11-22 06:17:02