Page 1 of 1

How to register instantiated Actor?

Posted: Tue Apr 27, 2021 9:38 pm
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?

Re: How to register instantiated Actor?

Posted: Tue Apr 27, 2021 10:05 pm
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.

Re: How to register instantiated Actor?

Posted: Tue Apr 27, 2021 10:39 pm
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!