[ODE] Joints and bodies
gl
gl at ntlworld.com
Sat Jan 11 02:28:01 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0023_01C2B953.99AE5B40
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
> > I'm trying to figure out how the joints connect the bodies... you can
set
> > the anchor for the joints, but I can't figure out how it determines the
end
> > points where the joint is connected to the bodies, unless it just uses
the
> > centers of mass for this. The pretty pictures in the ODE docs show the
joint
> > being connected to one side of the boxes, but what about spheres,
capsules
> > and arbitrary geometry?
I was wondering the same thing, but I haven't gotten around to joints yet.
> Imagine joining two real-world blocks of wood with a real-world hinge,
> like a door hinge... For any location of the hinge, there are an infinite
> number of places you could ALSO put the hinge, which would create exactly
> the same effect. All that's necessary is that all of the hinge axes lie
> along a common line in space.
I can't quite see that. On those real blocks, the side the hinge is
connected to very much affects where they end up in space (see attached
picture). Sure, the rotation is the same, but the resulting position isn't.
So presumably the joints _are_ assumed to go through the body 'position',
ie. currently the center of mass. Or am I missing something?
--
gl
------=_NextPart_000_0023_01C2B953.99AE5B40
Content-Type: image/jpeg;
name="blocks.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="blocks.jpg"
/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAHgAA/+4ADkFkb2JlAGTAAAAAAf/b
AIQAEAsLCwwLEAwMEBcPDQ8XGxQQEBQbHxcXFxcXHx4XGhoaGhceHiMlJyUjHi8vMzMvL0BAQEBA
QEBAQEBAQEBAQAERDw8RExEVEhIVFBEUERQaFBYWFBomGhocGhomMCMeHh4eIzArLicnJy4rNTUw
MDU1QEA/QEBAQEBAQEBAQEBA/8AAEQgAgQC/AwEiAAIRAQMRAf/EAJwAAQADAAMBAAAAAAAAAAAA
AAAFBgcCAwQBAQEBAQEAAAAAAAAAAAAAAAAAAQIDEAACAQIDAwQNCAkFAAAAAAAAAQIDBBEFBiEx
ElHSExZBYXGRsSKSorJTkxRUodEyQlJiczWBcoKz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