Hi everyone,
I've got two sprites. Both of them are simply created through the fill color in C3 and their collision shape is set to bounding box.
I have an event sheet that handles collision and I made sure it is included in the main one.
The first sprite has a MoveTo behavior with stop on solid true. The second sprite has a solid behavior with a tag. There is NO event to exclude or include the tag as that setup isn't used for anything just yet.
Collisions on both objects are enabled even on runtime (checked with Debug mode).
I setup my event as such:
- Sprite1 OnCollisionWith Sprite2 > DebugText Append "Collision!"
Now when I run the layout Sprite1 moves towards the target I set to it. It encounters Sprite2 and stops. So far so good, the problem is the text box doesn't change and remains empty. I can see Sprite1 stuck to Sprite2. I can see it stopped moving, yet the collision event doesn't run, any idea why?
I tried to change this to Overlapping instead of collision and it didn't work still.