How do you get the name of a limb
Blitz3D Forums/Blitz3D Beginners Area/How do you get the name of a limb
| ||
Hi, I was wondering if anybody knows how to get the name of a limb from within a mesh that has been loaded previously. Thanks in advance. |
| ||
Assuming you've named it something and it's a child entity then you could use findchild() or iterate through the children and their children etc.. to see what they're called. Stevie |
| ||
EntityName() returns the name of an entity. That includes bones. |
| ||
Ahh ok, so every limb of an entity is essentially a seperate child entity of its parent, that makes sense. So that means removing a limb from one entity and attaching it to another is just a case of setting its parent, how cool is that I'm so glad I moved from DGDK to B3D SDK. Thanks guys. |