how to set random rotation to polygons on a grid

Shuantsu's Avatar


22 May, 2015 05:51 PM

Hey guys.

I'm trying to do something really simple, creating a grid connected to a polygon and putting a random rotation to each of this polygons.

The problem is that the polygons are not rotating around they own axis, but around the 0, 0 position. I want to have a grid with random rotated polygons, not the mess I'm doing.

Check my script and give suggestions. Thanks.

  1. Support Staff 1 Posted by lucasnijs on 24 May, 2015 08:16 PM

    lucasnijs's Avatar


    you rotate around the origin point indeed. The rotate node has an input port, if you connect the points of the grid to that port it will use that list of points as the rotation points.

    good luck

  2. 2 Posted by Shuantsu on 25 May, 2015 10:46 PM

    Shuantsu's Avatar

    Thanks so much, that is exactly what I wanted. ;)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • poly_rotate.ndbx 1.19 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

04 Dec, 2023 10:18 PM
04 Dec, 2023 10:14 PM
04 Dec, 2023 11:38 AM
29 Nov, 2023 05:30 AM
28 Nov, 2023 12:38 AM


27 Nov, 2023 04:40 AM
26 Nov, 2023 10:02 AM
22 Nov, 2023 09:33 AM
20 Nov, 2023 08:54 PM
17 Nov, 2023 01:43 AM
15 Nov, 2023 06:58 AM