Conversation Trigger requires a Character Controller?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
arvz
Posts: 8
Joined: Fri Aug 18, 2017 5:31 am

Conversation Trigger requires a Character Controller?

Post by arvz »

Hey Tony

I've noticed conversation trigger seems to require a character controller component to work? I want to set up conversation triggers on prop items around the map that the player character can inspect (e.g.: 'oh look it's a lamp post!'), these aren't really NPCs, so I don't want to put character controllers on them. The trigger doesn't fire when they have box colliders on them, whether OnTrigger or not. Is there any nice way around this?
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Conversation Trigger requires a Character Controller?

Post by Tony Li »

Any kind of physics collider will work, but you may need to add a Rigidbody so Unity will register collisions. You can tick the Rigidbody's Is Kinematic checkbox to keep the collider from moving around.
arvz
Posts: 8
Joined: Fri Aug 18, 2017 5:31 am

Re: Conversation Trigger requires a Character Controller?

Post by arvz »

Ahhh right, how could I forget it needs rigidbody. Thanks!
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Conversation Trigger requires a Character Controller?

Post by Tony Li »

You're welcome!
Post Reply