How to get the bone a vertex is assigned to ?

Blitz3D Forums/Blitz3D Programming/How to get the bone a vertex is assigned to ?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

How do I get the pivot (or bone) a vertex is assigned to ?

I'm trying to fix the problem with decals on animated meshes, if you parent them to the ani mesh handle, they ignore tha animation. Probably this can be fixed, at least partially, if they are parented to a certain bone of the animesh. So I needed to get the bone handle of the picked triangle. Is there a way?