3
$\begingroup$

Im new in animation nodes. And maybe it is very easy question but I cant find solution by myself. I`m trying to make transformation animation and I handled with moving vertices on normals but as I understand polygons have a different approach.

polygons move only in world coordinates

$\endgroup$

1 Answer 1

4
$\begingroup$

You can use the “Polygon Info” node to access each node's normal and then pass it through a “Translation Matrix” into the ”“Transform Polygon” node.

The Polygon Info's center output can also be used in calculations regarding the translation distance, e.g. the distance to an Empty or the angle from the torus' center.

BTW: Animation Nodes includes a “Transform Individual Polygons” template which adds the underlying node setup of looping over all polygons and outputting the mesh. You then just need to set up the transformation matrix.

Node setup for polygons translated along their normals

$\endgroup$
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .