|
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?
|
|
|
|
I’d be interested in knowing how to do this as well.
Does the relation constraint with dampen work?
|
|
|
|
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.
|
|
|
|
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.
|
|
|