I have some vertices that forms a figure (Could be a box) I want to be able to set a position (ofVec3) that all the vertices then is moving to relative to a pivot point. As it is right now I made a pivot point that all the vertices is referensing to. I then set the position of the pivot point and the vertices will move relative to that. But is that the right way to do it?
This way I need to keep track of all the points in my figure more or less manual.
The reason I don’t use ofTranslate is that I need to know where my vertices is in relation to all other vertices in the program because I use this form to calculate if vertices in a particle system is inside og outside the figure.
Maybe there is something in this 3D world I just don’t get?