Page 1 of 1

range that can be spoken to

Posted: Fri Sep 01, 2023 1:38 am
by fuakda
"Custom position" is meaningless.
Where and what is the basis for setting custom positions?
I want to approach an NPC and press a button to talk to it.



Below is an excerpt from the manual.
CustomPosition
Vector3 PixelCrushers.DialogueSystem.Selector.CustomPosition
getset
Gets or sets the custom position used when the selectAt is set to SelectAt.CustomPosition.
You can use, for example, to slide around a targeting icon onscreen using a gamepad.
The custom position.

Re: range that can be spoken to

Posted: Fri Sep 01, 2023 8:19 am
by Tony Li
Hello,

Custom Position allows you to set the selector's raycast position in code instead of using the built-in options (center-of-screen position or mouse position).

However, to accomplish what you want, I recommend using a Proximity Selector instead. Please see the Interaction Tutorial for video instructions.