Hi,
I'm having difficulty with getting a conversation to trigger when a character enters a box collider.
The trigger area is set up like this:
The character is set up like this:
The box collider on the character is tagged as Player, but is a child of other objects with different tags (one of which has a capsule collider). I've tried adding these tags to the conditions, and disabling the capsule collider. Have also tried just starting the conversation on start, which works. Probably missing something small (and stupid) but if you could give me a nudge, would appreciate it!
On Trigger Enter Doesn't Start Conversation
Re: On Trigger Enter Doesn't Start Conversation
Hi,
Trigger colliders don't register collisions with each other. One of them has to have Is Trigger unticked. What about getting rid of that child GameObject and relying on the capsule collider?
If possible, set the tag of the capsule collider GameObject to 'Player'.
It may also need a rigidbody, or put a rigidbody on the dialogue trigger and make it kinematic.
Trigger colliders don't register collisions with each other. One of them has to have Is Trigger unticked. What about getting rid of that child GameObject and relying on the capsule collider?
If possible, set the tag of the capsule collider GameObject to 'Player'.
It may also need a rigidbody, or put a rigidbody on the dialogue trigger and make it kinematic.
Re: On Trigger Enter Doesn't Start Conversation
Thanks Tony. Adding a rigidbody and setting it to kinematic worked.
Re: On Trigger Enter Doesn't Start Conversation
Great! Glad to help.