How to get "Position" of the "Location"?

How to get "Position" of the "Location"?

g2m.agent
Collaborator Collaborator
1,423 Views
3 Replies
Message 1 of 4

How to get "Position" of the "Location"?

g2m.agent
Collaborator
Collaborator

I know the "Location" is a certain location on the surface of the mesh.
Now I need to know its spatial positioning, such as the value of XYZ.
How to do it?

0 Likes
Accepted solutions (1)
1,424 Views
3 Replies
Replies (3)
Message 2 of 4

mjcg91
Collaborator
Collaborator

use sample_property 

Maxime Jeanmougin - Technical Artist
https://maximejeanmougin.com

Join the Bifrost Addicts community on Discord:
https://discord.gg/bifrost-addicts
0 Likes
Message 3 of 4

g2m.agent
Collaborator
Collaborator

What "Property" should I use?

the default value is "point_position", I change it to "location_position". It seems not to work.

maya_I0IMJhWb9N.pngmaya_JqKvijg27i.png

Most important: where can I find these Property names? on Shape node??

I was unable to find any "location" ports on pCubeShape1.

Message 4 of 4

mjcg91
Collaborator
Collaborator
Accepted solution

You can use a watchpoint to see the properties on a geometry object.

 

point_position is the property you have to use if you want to sample the closest position. More info  the documentation: http://help.autodesk.com/view/BIFROST/ENU/?guid=Bifrost_Common_build_a_graph_geo_query_html 

Maxime Jeanmougin - Technical Artist
https://maximejeanmougin.com

Join the Bifrost Addicts community on Discord:
https://discord.gg/bifrost-addicts