I've been wreaking my head for a while now on how I'd go about rotating points in a for-loop using VEX.
I can get it to work using a transform and $CEX/Y/Z but using VEX I can only get it to rotate from the origin (I think).
I'd love to see if anyone out there could give me a hint on how to achieve this using VEX as I can't find an answer I can grasp using google.
Here's what I've got so far.
int iteration = detail(1, "iteration", 0); float rotAmountY = rand((.456 + iteration) - .5) * 45; matrix3 myMatrix = ident ( ); rotate ( myMatrix, radians ( rotAmountY ), { 0, 1, 0 } ); @P *= myMatrix; f@pscale = fit(rand(0.34234 * iteration), 0, 1, 0.75, 1);
Best Regards
Jona