Get the FbxNode from an ENodeId of a Character

Get the FbxNode from an ENodeId of a Character

Anonymous
Not applicable
395 Views
0 Replies
Message 1 of 1

Get the FbxNode from an ENodeId of a Character

Anonymous
Not applicable

Hi

 

Is it possible to get the associated FbxNode from the enum ENodeId ?

for example if i want to get the FbxNode from the Character::eLeftHand

 

I tried to use Character::GetCharacterLink(ENodeId, FbxCharacterLink)

then extracting the FbxNode from FbxCharacterLink simply by calling FbxCharacterLink::mNode

 

However this function return in most time False, so no FbxCharacterLink is created.

 

code:

...
character = myScene.GetCharacter(0)
lefthand = character.eLeftHand
lefthand_node = FbxCharacterLink()
character.GetCharacterLink(lefthand, lefthand_node) # False
lefthand_node = lefthand_node.mNode
0 Likes
396 Views
0 Replies
Replies (0)