How do I
-
check if collision has taken place between 2 objects - arrowtip(endpoint) and enemy
-
get location of collision as a location relative to enemy’s body
-
freeze arrowtip(endpoint) at the same location on the enemy’s body (so it looks like the arrow is stuck in the enemy, even if the enemy moves)