You could use a callback on the transform from the hand to update the transform on the other node. The other way is to position the other node under the hand in the hierarchy. The transforms of the other node then become relative to the hand. You'd need to convert local to world in order to do updates in the world frame but your goal of co-movement would be achieved.
On Sun, Nov 30, 2008 at 5:06 PM, Ryan Morris <[EMAIL PROTECTED]> wrote: > This is not a problem, i have solved the "moving two objects at once" issue. > The problem is if I want to attach a node to a specific point on a second > node (let's say a hand of an animated person), getting the hand and the > other node to move as one during a walking sequence, etc. Any further > clarification would be greatly appreciated! > > On Sun, Nov 30, 2008 at 8:18 AM, Robert Osfield <[EMAIL PROTECTED]> > wrote: >> >> Hi Rusty, >> >> If you wish objects to move around together then typically you'd place >> the objects all under the same transform. Each local object might >> have its own transform as well, or if required manually positioned in >> the local coordinates. >> >> Robert. >> >> On Sun, Nov 30, 2008 at 4:09 PM, Ryan Morris <[EMAIL PROTECTED]> >> wrote: >> > Good morning OSG, >> > I'm doing a little game programming and I am struggling with a way to >> > attach >> > a node to a specific point on another node. >> > I know these could be manually prepositioned using a transform, but if >> > the >> > main node (our character) is animated how would I handle this? >> > Hope someone can help! Thanks in advance! >> > >> > -Rusty >> > >> > _______________________________________________ >> > osg-users mailing list >> > osg-users@lists.openscenegraph.org >> > >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > >> > >> _______________________________________________ >> osg-users mailing list >> osg-users@lists.openscenegraph.org >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- "It is only necessary to make war with five things: with the maladies of the body, with the ignorances of the mind, with the passions of the body, with the seditions of the city, with the discords of families." - Tacitus "The desire for safety stands against every great and noble enterprise." - Tacitus "Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin "Numquam ponenda est pluralitas sine necessitate." - William of Ockham _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org