Overlap or collide with interpolate actor?
MarcoCol
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...
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
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.