Stop a interpolate behavior accelerating
Hey,
I try to make an actor followed by an other one, so I use for the following actor the behvaior interpolate, but somehow the speed gets more and more fast when moving ...
What's causing this?
Thx Alex
I try to make an actor followed by an other one, so I use for the following actor the behvaior interpolate, but somehow the speed gets more and more fast when moving ...
What's causing this?
Thx Alex
Comments
interpolate self.att to self.att+10
You'll get undesired results since the interpolate rule is changing at both ends constantly
New Attribute set to whatver you want to interpolate to. in this cause you would set the attribute to ten.
then in you interpolate behavior interpolate attribute+new attribute
I should add a new attribute and set the value to the x position I want to interpolate and then in the interpolate behavior just say what?
You make another attribute called interValue or whatever you want, and set it to what you wanted to add in the interpolate, in this case 10. So set that attribute to 10
then in your interpolate behavior interpolate self.position.x+interValue
replace the self position x with whatever your doing i just used that as an example
Is this the only way or? Just asking if...
so cant you just interpolate self position x to whatever position?
That's the only problem.