Legacy GM Specific collision point

MIchael PS

Member
Hello there,


Merry Christmas and Happy holidays by the way.

Anyway, I’ve been working on a small project lately and I came across a problem. So, what I wanna do is to have the player shoot, and then have a collision line to check if there is an enemy the way he is shooting.

And until now I know how to do it, but here comes the problem, I want to detect the exact point where the collision happens and have the blood created there. I thought to store the colliding instance in a variable (let’s say var target) and then say “instance_create(target.x,target.y,obj_blood_creator)”, but this would only create blood in the origin of the object, not in the collision point.

Is there a build in function I can use? Should I work it out myself?

Any thoughts are appreciated a lot. Thank you for your time.

Have a great holliday!
Michael
 
Top