Hi Guys,
I am working on a simple mini game demo where sheep will be spawned on the screen. The aim of the game is to drag the sheep into the back hole (which is spinning and changing size using interpolate) and see how many you can get in the allocated time.
The issue I have encountered is:
I have an actor BlackHole which spins and then changes size using interpolate. When the second actor Sheep collides or overlaps with it, it is supposed to get destroyed and a sound should play but nothing happens once the interpolate behaviour takes effect. I tested the same project using 13.36 and it had the same issue.
Not sure if the interpolate behaviour applied to an actor affects it when it overlaps and collides with another actor. If the interpolate behaviours are turned off everything works as expected.
I found two ways to get the collision to work as expected when the interpolate behaviour is used
1 - is to create an invisible mask actor and apply the overlaps and collide with rule to it.
2 - is to change the order of the actors in the layers if the BlackHole actor is above the Sheep actors all works as expected if it is at the bottom of the layer it does not work.
I am seeking some clarification. I would like to verify if this is a bug or expected behaviour when interpolate behaviour is applied to an actor. If it is expected behaviour then why does it work when I change the layer order of the actor? If it turns out to be a bug I will submit a bug report.
Thank you for your help in advance.
Please find the project file with the mask actor workaround attached:
If you delete the mask actor then change the collide rule found in the sheep actor you will be able to see the issue.