Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Open Reality / LoadFBX -- timing with SetupAllAnimationNodes and Model Hierarchy creation
  RSS 2.0 ATOM  

LoadFBX -- timing with SetupAllAnimationNodes and Model Hierarchy creation
Rate this thread
 
35118
 
Permlink of this thread   Subscribe to this thread
avatar
  • Steve S,
  • Posted: 01 October 2009 08:48 AM
  • Total Posts: 38
  • Joined: 18 October 2007 03:58 AM

Hey all,

I’ve got a custom constraints question. 

In my constraint, the user drags in two models (a source and target) from which I explore the hierarchy and make all the connections in SetupAllAnimationNodes.

That works fine when creating the constraint, but the problem lies when a user saves out an FBX file with the constraint active and then later reloads that FBX file.  Upon load, the SetupAllAnimationNodes function in my constraint is called, but the two models it uses do not yet have their children set up. 

Is there a way I can have SetupAllAnimationNodes called on my open where the model hierarchy would already be set up when doing an FBX open in MotionBuilder.

(hope this makes sense ;))

Appreciate any response,
Steve



Replies: 0




   
  Settings Choose Theme color: