Hello. I want to add a small minigame. When the player pulls an object up or forward, move the object forward, when the player pulls the object down or backward, move the object backward. But I don’t really understand how better to determine which way the player is pulling the object.
How does your player perform the pull action? As in: which input is being processed?
Depending on how, you could use this in determining direction.
Ah… The player does this with the mouse. I roughly figured out how to do this: I need to detect when a player clicks on an object with the left mouse button, and then track the mouse position.