Interp only works on the way down!?
Example File: http://www.mediafire.com/?49wnwmv68tu95kc
I am having an issue with interpolate. In the example scene, the actor will change direction when you touch it. It is designed so that it will slow down via interpolate before heading in the opposite direction. I have used the exact same rule for both directions to interpolate linear velocity to zero. However the rule only works for the downward push, and not the upward. I have been messing with it for quite a while now, maybe someone here has an idea?
Thanks much!
I am having an issue with interpolate. In the example scene, the actor will change direction when you touch it. It is designed so that it will slow down via interpolate before heading in the opposite direction. I have used the exact same rule for both directions to interpolate linear velocity to zero. However the rule only works for the downward push, and not the upward. I have been messing with it for quite a while now, maybe someone here has an idea?
Thanks much!
Comments
Thanks for the insight P-O-M
What i see in the viewer is :
white square goes up then stops on destination.
I press it , it goes down , then stops on destination.
I press again , it goes up the stops on destination.
so.. what is the issue? i think i might misunderstood your question so can you be more specific?
@};- MH
oh, I see if you touch while it is moving … it will reverse direction
one move rule … as only 1 condition triggers the behavior
Rule: when
Attribute: self.Up/Down = 0
--the Up things
Otherwise:
--the Down things
since the object is already in motion … I find the 0.2 second interpolation hard to spot … can't see if it working or not
@};- MH
In the first interpolate, set it to 80. In the second interpolate, set it to -80. (Keep duration at .2)
Also, its best if you type the numbers in the input fields using the expression editor.
Hope this helps!
RThurman
Thanks!
RThurman