Proximity selector does not work when using starter assets

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
natsuha
Posts: 11
Joined: Fri Aug 13, 2021 9:28 am

Proximity selector does not work when using starter assets

Post by natsuha »

Hi, We use translation software, so please excuse the wording.

I did a tutorial on interaction in 3D, but the Proximity selector did not work. I used the following two assets.
  1. Starter Assets - Third Person Character Controller
  2. Dialogue System for Unity
I have tried the following.
USE_NEW_INPUT is enabled.
Set Use Key to None and Use Button to Fire2.
Added a new action to DemoInputRegistration.

I spent several hours on it, but could not solve the problem.

Image
▲PlayerArmature inspector


Image
▲DemoInputControls


Image
▲DemoInputRegistration
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Proximity selector does not work when using starter assets

Post by Tony Li »

Hi,

What part doesn't work? Do you see the Use Message? "Cube / E) Interact"

If you see the Use Message, then we need to investigate the new Input System.

If you don't see the Use Message, then we need to investigate physics:
  • Make sure the layers of the Cube and the player's GameObject are configured to register collisions. (Edit > Project Settings > Physics)
  • Add a Rigidbody to the player. You can tick 'Is Kinematic'.
  • Add a Rigidbody and collider to the Cube.
natsuha
Posts: 11
Joined: Fri Aug 13, 2021 9:28 am

Re: Proximity selector does not work when using starter assets

Post by natsuha »

Once I installed the rigid body on my Cube, the problem was solved!
I didn't expect it to be so easy.

Thank you very much!
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Proximity selector does not work when using starter assets

Post by Tony Li »

Happy to help! :-)
Post Reply