How could I take a locator and have it constrained to the surface of a mesh using closestPointOnSurface? Or is there another node i’d use for this?
thanks
How could I take a locator and have it constrained to the surface of a mesh using closestPointOnSurface? Or is there another node i’d use for this?
thanks
you can use PointOnPoly constraint
I think you can get the UV co-ordinates from the cpom node and then plug those into a hair follicle - if you access to it (Do you still need unlimited for that?)
Otherwise you might want to try and download the ancient “rivet script” and maybe have a look at the DG to see how they do it.
Mind you I’m not much updated on new features after 2009 currently
You can use point on surface info and use the normal/tangent to plug it into an aim constraint or build a matrix yourself.
[QUOTE=dragotron;8666]How could I take a locator and have it constrained to the surface of a mesh using closestPointOnSurface? Or is there another node i’d use for this?
thanks[/QUOTE]
your cpom node has an .inputPosition attr which
you can connect to yor locators position.
an example of such usage to retrieve color at point with constrained locator brushes: