SUBSCRIBE The SideFX mailing list is a great place to make contact with Houdini users. To subscribe, send us an email with no subject and the word subscribe in the body.
[Sidefx-houdini-list] Forward Kinematics in Houdini
Thursday, 3 June 2010 Thu, 3 Jun '10
That's the thing I don't want to do, all the bulk maths to mimic "Keep Position When Parent Moving". Anyway thanks for the info. 2010/6/1 Andrew D Lyons <tstexture at gmail.com>
You can also access the various obj node transforms and pre-transforms via HOM: Take a look through some of these: >>> node = hou.node('/obj/geo1') >>> node.parent() >>> node.worldTransform() >>> node.setWorldTransform() >>> node.parentAndSubnetTransform() >>> node.setPreTransform() >>> node.preTransform() Also, take a look at the hou.hmath. module. There's some good stuff in there for manipulating matrices, transforms etc. Cheers On 1 June 2010 13:32, Ken Ouellette <ken.ouellette at gmail.com> wrote: > I remember this in hscript? > > / -> help objparent > objparent > Controls the "keep position when parenting" option. > > USAGES > 1. objparent [on|off|useflag] > > With no arguments, prints the current setting. > > OPTIONS > on|off|useflag > on > Always maintain world space position. > > off > Never change the object's position. > > useflag > Positioning depends on the "keeppos" parameter of the > object. > > > > On Tue, Jun 1, 2010 at 2:57 PM, Edward Lam <edward at sidefx.com> wrote: > >> Pablo Gim?nez wrote: >> >> Barring that, >> >> you will need to use the "Keep Position When Moving Parent" toggle in >> >> Main Preferences > Objects and Geometry. >> >> >> > Is there any way to enable/disable this option using Python or Hscript??? >> > thanks >> >> Unfortunately, no. Feel free to log an RFE though. >> >> Cheers, >> -Edward >> _______________________________________________ >> Sidefx-houdini-list mailing list >> Sidefx-houdini-list at sidefx.com >> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list >> > _______________________________________________ > Sidefx-houdini-list mailing list > Sidefx-houdini-list at sidefx.com > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list > -- ======================================= Andrew D Lyons | Digital Artist | http://www.tstex.com ======================================= _______________________________________________ Sidefx-houdini-list mailing list Sidefx-houdini-list at sidefx.com https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list-- Un saludo Best Regards Pablo Gim?nez