[Sidefx-houdini-list] local vs global transformation

Dan Wills gdanzo at gmail.com
Wed Jan 13 20:01:57 EST 2016


G'day,
Yet another way is: In python, get the world transformation matrix of the
'Object', and you can then 'explode' it to get the world translation (or
rotation etc if needed).

It should look something like this:

hou.node("/obj/null1"). worldTransform().explode()['translate']

.. this returns a hou.Vector3.
The more options the merrier, right?
Dan.
On 13 Jan 2016 6:37 am, "robert east" <east.robert at gmail.com> wrote:

> You also use a point expression at the object let to pull out data.
>
> Rob
>
> On Wed, Jan 13, 2016 at 4:18 AM, Olivier Jeannel <facialdeluxe at gmail.com>
> wrote:
>
> > If you use a add node adding one point on the null, you should be able to
> > get it's position.
> > I think danil krivoruchko does it on camera to gather some position.
> Watch
> > his vex tutorials ( the "lidar one if I'm correct).
> > Le 12 janv. 2016 18:06, "Gerbrand Nel" <g at cannonballbunny.com> a écrit :
> >
> > > I really need to look into chops don't I..
> > > They seem super awesome, but every time I peak inside chops, I get that
> > > same feeling you get when your brain wasn't ready for all that ice
> cream.
> > > G
> > >
> > > On 12/01/2016 18:56, Peter Bowmar wrote:
> > >
> > >> And in the grand tradition of "at least 4 ways to do things in
> Houdini"
> > >> you
> > >> can use the Object CHOP too.
> > >>
> > >> On 12 January 2016 at 01:31, Gerbrand Nel <g at cannonballbunny.com>
> > wrote:
> > >>
> > >> wait.. hold the phone :)
> > >>> for some reason I had a centroid expression on my null1
> > >>> Working now!
> > >>>
> > >>> G
> > >>> _______________________________________________
> > >>> 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
> > >
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> >
>
>
>
> --
> Robert East
> Home
> Sydney Australia
>  Tel +61 (0)424648857
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



More information about the Sidefx-houdini-list mailing list