Page 1 of 1

Proximity selector does not work when using starter assets

Posted: Fri Aug 13, 2021 12:23 pm
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

Re: Proximity selector does not work when using starter assets

Posted: Fri Aug 13, 2021 1:05 pm
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.

Re: Proximity selector does not work when using starter assets

Posted: Fri Aug 13, 2021 2:14 pm
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!

Re: Proximity selector does not work when using starter assets

Posted: Fri Aug 13, 2021 2:17 pm
by Tony Li
Happy to help! :-)