From 1de0119e3fd8e935bda9af7cfde2ec30932424e0 Mon Sep 17 00:00:00 2001 From: xen-42 Date: Fri, 1 Nov 2024 15:40:42 -0400 Subject: [PATCH] Make a dialogue faq why not --- docs/src/content/docs/guides/dialogue.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/content/docs/guides/dialogue.md b/docs/src/content/docs/guides/dialogue.md index 1f7edac7..a5057772 100644 --- a/docs/src/content/docs/guides/dialogue.md +++ b/docs/src/content/docs/guides/dialogue.md @@ -220,3 +220,9 @@ To use this additional dialogue you need to reference it in a planet config file } ] ``` + +## Dialogue FAQ + +### How do I easily position my dialogue relative to a speaking character + +Use `pathToAnimController` to specify the path to the speaking character (if they are a Nomai or Hearthian make sure this goes directly to whatever script controls their animations), then set `isRelativeToParent` to true (this is setting available on all NH props for easier positioning). Now when you set their `position`, it will be relative to the speaker. Since this position is normally where the character is standing, set the `y` position to match how tall the character is. Instead of `pathToAnimController` you can also use `parentPath`.