Adds a node that can rotate each of a geometry's instances in global
(to the modifier object) or local space (of each point) by a specified angle around a pivot point.
Addresses T91653
Differential D12682
Geometry Nodes: Rotate Instances Node Authored by Erik Abrahamsson (erik85) on Sep 28 2021, 10:51 PM.
Details
Adds a node that can rotate each of a geometry's instances in global Addresses T91653
Diff Detail
Event Timeline
Comment Actions Here are a few examples of simplifications for the matrix math. Maybe just multiplying all the matrices together solves it too, but I think it's better to use more precise code that's actually necessary. I found testing with import mathutils in the python console helpful. I hope I'm correct with my comments inline. To that end, it could be helpful for you to share any files you are using for testing in the patch description. I think these same comments will apply to the other two patches.
Comment Actions I think eventually we'll need to space inputs. One for Local Pivot and one for Local Orientation or so. Currently, one needs a separate node to rotate instances around the "global" Z access but using their local pivot. | |||||||||||||||||||||||||||||||||||||