Using VEX to place packed primitive on curve and aligning primitive with curve normal. There’s certainly other approaches – especially if you want to distribute lots of objects on a curve. I created this solution as a small part of a larger system where I want the user to be able to place data markers on a curve – and …
Sort Array of Struct Values
Let’s assume you have a struct defined with some property you want to sort by… During some process you end up having an array of that struct Now to sort the array by a property The trick is to use argsort which gives you an array of indexes to sort by.