GetNode/Pivot?
Blitz3D Forums/Blitz3D Programming/GetNode/Pivot?
| ||
Is there a way to get the nodes or pivots of a 3d mesh? Does it work like CountSurfaces/Getsurfaces, or triangles etc? I'm trying to figure out a good way to attach a weapon to a 3d mesh. |
| ||
CountChildren() or take look at my NextChild() function in the 3D code archives. |
| ||
If you know the name of the bone/node/pivot/joint (I'm not sure what the correct terminology is either ;o)) then you can simply use FindChild("jointname") without having to iterate through the models hierarchy. YAN |
| ||
Once you get a child, how can you determine if its a pivot/node or a mesh? |
| ||
EntityClass() |
| ||
thanks! |