Overlap or collide with interpolate actor?

MarcoColMarcoCol Member, PRO Posts: 279
Hi,

I try a lot of solutions, but I didn't reach my goal.
I have an actor, which will be moved out of the screen (onyl a few px) and after a few seconds it will be moved to the same position, it was before.
I do this with the interpolate (Position X/Y) behavier.
It works perfect.
But I want, that this actor do something if his Position is over another unvisible actor.
If I do this with other actors, who didn't inpterpolate but moved, it works. But may it be, that interpolate (Change X/Y valuea) actors did have no effect then colliding or overlap with other actors?
For check I change an attibute, when colliding or overlaping and show it in the level (only to see, if there changes something), but there are no changed. The value is just the same, but when overlaping or collide with other actors which have the rules...

Comments

  • MarcoColMarcoCol Member, PRO Posts: 279
    any ideas, why I there get problems?
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Interpolate is a function that doesn't like to be interrupted until it has reached it's input value. For something like this, you might consider using the "move" or the "move to" behavior.

    There is a work around for interpolate to be interrupted, but for something like this, it would be more code and trouble than it's worth.
Sign In or Register to comment.