I have a fork shaped object with two equal length prongs. The collision mask is shaped in a way that fits over both prongs. When a key is pressed, the fork object moves forward and collides with two separate blocks (one in front of each prong).
My collision event looks roughly like this:
- Code: Select all
Fork: On Collision with Block >
Set Block X to Self.X + 50
Set Fork 'returning' to 'True' (which makes the object go backwards)
Originally, I anticipated that the fork would push both blocks in this setup. However, it seems that the fork will only push one of the blocks, as though it's hitting that one "first" and retreating before the event can run for the second block.
How can I make the stick push both blocks at once? Hopefully my example is clear enough to address; I would include a .capx but I'm away from my home computer.
Thanks in advance!