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 / Constraint with delay
  RSS 2.0 ATOM  

Constraint with delay
Rate this thread
 
39955
 
Permlink of this thread   Subscribe to this thread
avatar
  • szampek
  • Posted: 20 February 2010 12:15 AM
  • Total Posts: 3
  • Joined: 05 August 2009 06:02 AM

Hello,

I’m new in OR SDK. I want to make a position constraint with delay.
You make a connection between two elements, and when you move the source object there is a delay of moving target object, lets say 5s.
I’ve tried to play with function AnimationNodeNotify and FBEvaluateInfo but it seems not ot work at all. Any suggestions?



Replies: 0
avatar

I’d be interested in knowing how to do this as well.
Does the relation constraint with dampen work?



Replies: 0
avatar
  • John McC
  • Posted: 24 February 2010 06:00 PM

I have done something similar with damping in a relation constraint.

You could write this as a constraint, if you go down this route you may have to buffer the samples in AnimationNotify and take note of the time from the evaluation info. Then capture a recurring event such as UIIdle and update the destination node with a value from an appropriately aged sample.

Doing it this way, the smoothness of your result will depend on what event you capture, e.g. the UIIdle can result in slightly irregular updates.



Replies: 0
avatar
  • szampek
  • Posted: 26 March 2010 05:51 AM

Thanks a lot.

Do you know any ‘good’ event to use in this case? ‘Good’ in this situation means some event, that is calling pretty often with quite constant time interval.



Replies: 0




   
  Settings Choose Theme color: