Page 1 of 1

Oculus Example (Moving Panels)

Posted: Fri May 26, 2023 1:44 pm
by RoguePimptastic
I'm using the Oculus example. I'm trying to get it so that I can move the Dialogue panels depending on where the action in the scene is taking place. I want a center, left, and right position. The way I'm trying to do it, is to have an animator connected to the NPC. I then trigger an animation in the Conversation to move the NPC, which should in turn move the Dialogue Panels. Unfortunately, the panels stay in the same spot, even though the NPC capsule clearly moves.

I'm sure there is a much easier way to go about this that I'm not thinking of.

Re: Oculus Example (Moving Panels)

Posted: Fri May 26, 2023 2:16 pm
by Tony Li
Hi,

What if you make the dialogue panel a child of the NPC? This way it will move when the NPC moves.

Re: Oculus Example (Moving Panels)

Posted: Fri May 26, 2023 4:23 pm
by RoguePimptastic
I did that, but the Panel still stays in the same spot when I move the NPC during runtime. If I move the NPC before starting, the Panel moves with it.

I think I'm going to switch up to the Bubble template instead, since I've never had this problem before when I've done the same thing with it.

Re: Oculus Example (Moving Panels)

Posted: Fri May 26, 2023 5:03 pm
by Tony Li
Sounds good. Which Oculus example were you using? Maybe its panel has code that keeps it in place.