How to register instantiated Actor?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Dandy
Posts: 6
Joined: Tue Apr 20, 2021 5:13 pm

How to register instantiated Actor?

Post by Dandy »

I have an actor that works perfectly if I use them when they are already in the scene. If I try to instantiate the game object with the components (DialogueActor, Usable, and DialogueSystemTrigger) I can't seem to interact with the same actor.

I imagine I'm missing some kind of register call?
Dandy
Posts: 6
Joined: Tue Apr 20, 2021 5:13 pm

Re: How to register instantiated Actor?

Post by Dandy »

Nevermind, I'm trying to rush for a game jam and just realized I'm spawning the actor inside of another collider that is blocking the raycast. Hopefully if anyone else has this problem they will see this message. Cheers.
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to register instantiated Actor?

Post by Tony Li »

Thanks for sharing your solution. I'm sure you're not the first or last to run into that issue. Good luck with your game jam!
Post Reply