Hi, I’m trying to pop out money from the killed enemy. To do so I need to get position of the last collided actor. How can I achieve that?
For each object enemy:
Bullet is in collision with enemy
Create object money at enemy.X() enemy.Y()
But you don’t keep the last position (imagine the bullet is not colliding anymore).
You can store the X position in a scene variable when the bullet collide so that you can use it after.