Hi, I would like to redirect the player to an interaction point if a click is registered on a defined object, i. e. a chest and send him to a defined interaction point, if the object is clicked, instead of the clicked spot. I assume I have to alter the seeker script but I’m not a coder. Any tipps or suggestions on how to achieve that?
That sounds like game logic. I would recommend that if your mouse raycast hits the object, you set the agent’s destination to the interaction point instead of where the mouse raycast hit.
This is not something you should do in the seeker script, but instead in the script that sets the destination (this is a game specific script, in the example scenes it is called TargetMover).
Thanks for the reply, that helps to narrow it down.