on collision with an obstacle game is going to over but before that on every click it is spawning an object just below it and player after collision with an obstacle I want my spawnd to object to remain at same position at the moment player collided with obstacle