Lou
Hey there,

Does anyone know a way to create a single Point at the exact centroid of a Mesh in World Space ?

Thanks.
Reply 0 0
pshipkov
Each mesh node has two attributes bounding box and center. You can get attar the center one and then create transform and set it translation accordingly.
If you are interested in procedurally handling that stuff you have two options:
Use the soup shell node. On its outputs it will provide various data for each poly shell of the input mesh including centroids. Then feed that to other soup nodes according to your needs.
You can use the pyexpression node if you want to code quickly some more intricate logic related to mesh centroids and other scene entities.
Reply 0 0
Lou
Thanks a lot, I'm gonna try both solutions.

Also, I'm still searching a way to scatter points on surface dynamically according to mesh distance threshold, or even mesh intersection.

It would be great to have some kind of double mesh input in the scatter node which would sample distance or intersection between the two and then scatter points along a certain radius.

Thanks again for your time.
Reply 0 0
Reply