So, in this project, the player collects a few different things. One of them is a dog. I'm trying to make it so that the player interacts with the dog, and then basically holds the dog over their head. A moment later, the dog disappears and the player puts their hands down.
Pretty much like what they do in the old Zelda games when you pick up items.
I kind of have it working. At the moment, the dog is to the left side of the room below. The player interacts and the dog is teleported to the tile above the player's head, but if the player interacts from a different location, then it won't appear above the player.
Is there a way to find the player's location and then make the dog or whatever object spawn one tile above it?
Pretty much like what they do in the old Zelda games when you pick up items.
I kind of have it working. At the moment, the dog is to the left side of the room below. The player interacts and the dog is teleported to the tile above the player's head, but if the player interacts from a different location, then it won't appear above the player.
Is there a way to find the player's location and then make the dog or whatever object spawn one tile above it?