Hello,
Sorry i'm new to unity. I could miss a lot.
I want to follow the "Interaction Tutorial" with 3D objects.
I thought the equivalent to the "collider box 2d" is the "box collider". And i just have to cross the "is trigger" checkbox. Unfortunatly it doesnt work.
What are the steps in a 3D scene to setup a dialogue trigger ? Different from the tutorial ?
Thanks !
Interaction Tutorial in 3D ?
Re: Interaction Tutorial in 3D ?
Hi,
There's nothing different from the tutorial except to use 3D colliders.
There's nothing different from the tutorial except to use 3D colliders.
- Make sure your player and NPC/interactable object both have 3D colliders such as Capsule Collider, Box Collider, etc.
- Tick the "Is Trigger" checkbox on one or the other, but not both.
- Add Rigidbody components to both. You can tick Is Kinematic to prevent physics from moving them.
- Make sure they're on layers that will register collisions. (Check Edit > Project Settings > Physics.)
-
- Posts: 2
- Joined: Mon Sep 25, 2023 2:54 pm
Re: Interaction Tutorial in 3D ?
It worked ! Thanks for the detailled answer.
Re: Interaction Tutorial in 3D ?
Glad to help!