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

25 May, 2024 11:52 AM
24 May, 2024 07:39 AM
16 May, 2024 02:11 AM
16 May, 2024 01:58 AM
14 May, 2024 01:29 AM


13 May, 2024 12:36 AM
12 May, 2024 07:46 PM
05 May, 2024 04:38 PM
03 May, 2024 06:50 AM
03 May, 2024 12:30 AM
03 May, 2024 12:09 AM