kinefx_hierarchy.h library documentation

   924   0   0
User Avatar
Member
71 posts
Joined: June 2022
Offline
EDIT: I've managed to reparent just by creating a polyline, it was far easier than i thought, but still this kinefx_hierarchy library's documentation would be great

Hello. I'm having a problem when trying to create a branched structure with Kine Fx. I need each twig on a "fork" to rotate independently. With the casual approach, these "forks" are considered as a single point, so when I rotate it, all the twigs are rotated together. I've managed to split them based on primitives, and it works fine. On every fork, I have N+1 points, where N is the number of twigs (+1 because there is also the tip of the previous primitive). This solves the issue of independent rotation, but it creates another problem. Now, I need to procedurally re-parent the first points of each twig to the tip point of the previous one. I want a procedural method of re-parenting similar to the "parentjoints" SOP. I tried to learn from this SOP, but the problem is that they include the "kinefx_hierarchy.h" library, and I cannot find the documentation for those functions, making it difficult to implement this. Do you have a link to this documentation, or can I use some vertex functions in VEX? It's easy for me to determine which points should be parented to each other, but I'm missing the syntax of rearanging this vertex order. Thanks for your help.
Edited by sniegockiszymon - June 29, 2023 19:05:38
  • Quick Links