In my code I am creating a collision line. What i wish to do is to get the id of the instance that this line collides with. How do I do this?
I have tried using other, but it returned the object creating the collision line.
Any suggestions?
This is the code I am using:
collision_line(initialpos_x, initialpos_y, self.x+sin(shipdir)*Lscale*36,self.y+cos(shipdir)*Lscale*36, obj_asteroid, 1, 1)
regards,
Pancratius











