Hi! I need some help, I’ve tried so many things and new ideas are needed. I tried to replicate the “rotate on edge” effect on this video https://vimeo.com/147899293.
The problem showed Up when I tried to “parent” my Faces particles to The edge Pivots, The first thing that stoped me was that particles on TP doesnt expose its “transform matrix” as in Particle Flow, I had to do some tests with the “position” and “alignment” properties and it kinda worked out but then I need to keep the faces initial positions and rotations after the matrix composition (by the way the “composition” function on the math node didn’t work as expected) because if we only multiply the matrices we “transform” the child matrix to its relative transform from the world to the parent, here is where I hit the wall :banghead: .
I’ll share my files and my scripted helper node to compose the matrix.
I tricked out the rotation on the edges with an Pattach node and spin dynamic node, I couldnt make it work by modifying the rotations on an alignment node. Also, with this method you can see that there is some “error offset” while they are spinning, don’t know why.
PD: Remember to install my scriptNode if you want to check out the “TPMatrixTest” file.
PD2: I dont know why but if I use the “Matrix” node from TP, a horrible Slowdown starts, so I kept that node away.
!!------------------------------------ UPDATE >>>>>>>>>>>>
OK I solved many things, just download the “FlipPolysTPv2” file. but I’ll Appreciate if you check it out and share some thoughts on optimization or good practices. It is too slow to my taste, maybe a cache is a solution? How could this be done? I also tried a way to avoid edge resample, but I don’t like it. Check the Video from Softimage at top, I think that they don’t repeate the pivot-Edge. I used some scripts to workaround the unexposed matrix particle property. Thats all. Pardon My english. Link 4 files below: