We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am trying to modify an example script that uses geomerative as well as fisica to have letters with dynamic properties.
The issue I am having is that it currently only works with single letters and I want it to work with words.
The code that I need to figure out is probably this part.
m_shape = RG.getText(txt); m_poly_group = RG.polygonize(m_shape); if (m_poly_group.countChildren() < 1) return; m_poly = m_poly_group.children; // which letter
If I change the children to children for instance it will work with the 2nd letter of my string.
There is also function RGroup myGroup = font.toGroup(txt); that I think is needed.
Below is a link to my sketch.. (https://www.dropbox.com/s/5ao1s5b82n21lbb/Words.zip?dl=0)
Any tips would be great.