Oculus Example (Moving Panels)

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
RoguePimptastic
Posts: 22
Joined: Sat Dec 18, 2021 10:52 pm

Oculus Example (Moving Panels)

Post 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.
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Oculus Example (Moving Panels)

Post 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.
RoguePimptastic
Posts: 22
Joined: Sat Dec 18, 2021 10:52 pm

Re: Oculus Example (Moving Panels)

Post 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.
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Oculus Example (Moving Panels)

Post by Tony Li »

Sounds good. Which Oculus example were you using? Maybe its panel has code that keeps it in place.
Post Reply