Move To Isn't Consistent
I'm trying to have an actor move throughout a scene with the Move To behaviour and am having some problems.
Currently I have the actor Move To a position, and then have rules along the lines of "when self.position.x = 540, then doing another Move To behaviour and having them chained together. However about 1/10 times the actor will overshoot the position, then move backwards as if correcting itself. This breaks what I am trying to do with the scene.
I can't use a combination of Velocity and Gravity because my scene will dynamically change in speed which Velocity doesn't allow.
I can't use a combination of Timers and Move behaviours because the dynamic slow-motion of the scene means that Timers will not work.
Currently I have the actor Move To a position, and then have rules along the lines of "when self.position.x = 540, then doing another Move To behaviour and having them chained together. However about 1/10 times the actor will overshoot the position, then move backwards as if correcting itself. This breaks what I am trying to do with the scene.
I can't use a combination of Velocity and Gravity because my scene will dynamically change in speed which Velocity doesn't allow.
I can't use a combination of Timers and Move behaviours because the dynamic slow-motion of the scene means that Timers will not work.
Comments
If you are concerned about having the next Move To starting exactly at 540 then you might also want to add a 'Change Attribute: self.Position.X To: 540' before you do the next Move To.
Using RThurman's advice has made a bit of progress, though it isn't full proof. If it continues to cause problems and nobody can help with the Interpolate idea I'll try adding a Change Attribute before new Move To behaviours, though I'm worried this will make the movements stilted.