Its a lot simpler than you imagine. Once you have the local Vertex position you need to translate it into the parent or world space using TFormPoint.
You can scale and rotate it by parenting it to the character.
Although, thinking about it, you are using your own animation, so it might be an idea to create two vertices, one at the position of the hand/gun and the other at a distance of 1.0 away from the first. Then use TFormVector to adjust your gun scale and rotation.
Hope this helps.
You can scale and rotate it by parenting it to the character.
Although, thinking about it, you are using your own animation, so it might be an idea to create two vertices, one at the position of the hand/gun and the other at a distance of 1.0 away from the first. Then use TFormVector to adjust your gun scale and rotation.
Hope this helps.