Page 1 of 1

moving dialog trigger

Posted: Sat Dec 16, 2023 10:48 am
by grinseengel
Hello, I have a question about the possible actions that can occur when the player runs into an object. Is it possible to change the position of a model by a trigger enter action? Fading in and out works. I plan to move a trigger to another position to continue the discussion there. Can you give me a tip?

Re: moving dialog trigger

Posted: Sat Dec 16, 2023 3:58 pm
by Tony Li
Hi,

Yes, you can use a Dialogue System Trigger with a MoveTo() sequencer command. For example, to move the player to match the position of a GameObject named "Destination" when the player enters a trigger collider, set it up like this:

teleporter.png
teleporter.png (52.83 KiB) Viewed 6342 times

Re: moving dialog trigger

Posted: Sat Dec 16, 2023 4:29 pm
by grinseengel
Thanks for the fast help. It works fine and i come in my projekt foreward now.

Re: moving dialog trigger

Posted: Sat Dec 16, 2023 4:36 pm
by Tony Li
Glad to help!