PDA

View Full Version : pyfbsdk FBFindModelByName -II


MichaelLevin
01-28-2011, 05:56 PM
Hello!
I have the same problem: http://forums.cgsociety.org/showthread.php?t=681207
But i neither understand what is "Actor's root node" (first answer) nor in what group the hips can be, if it's an ActorBodyMesh of actor, and doesn't appear in the navigator or anywhere else (second answer). Just the same situation, for example: clear scene, two actors (Actor1, Actor2), no groups, nothing else. How to select the appropriate 'ActorBodyMesh:hips'?

Neill
01-29-2011, 07:59 PM
Hi,

I suggest you to rename first actor's hips mesh like this

lModel = FBFindModelByName("ActorBodyMesh:Hips")
if lModel: lModel.Name = "Hips1"

So that for the next execution of FBFindModelByName("ActorBodyMesh:Hips"), you will get a mesh from another actor. In such a manner you could capture a lot of actors and make a differ from each other.


Hello!
I have the same problem: http://forums.cgsociety.org/showthread.php?t=681207
But i neither understand what is "Actor's root node" (first answer) nor in what group the hips can be, if it's an ActorBodyMesh of actor, and doesn't appear in the navigator or anywhere else (second answer). Just the same situation, for example: clear scene, two actors (Actor1, Actor2), no groups, nothing else. How to select the appropriate 'ActorBodyMesh:hips'?

MichaelLevin
01-31-2011, 09:42 AM
Thank you, the other (or the additional) method is to use that fact, that the order of the 'ActorBodyMesh:Hips' components in FBSystem().Scene is the same as the order of the Scene.Actors...

CGTalk Moderation
01-31-2011, 09:42 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.