In 3 simple steps, deploy presence detection in Unity
The exercise here demonstrates using the trigger method to alert a game object about detection.
- Create an 3d child game object on the game object that shall have the detection mechanism. Disable the mesh renderer on it and enable the IsTrigger option.
2. Add the rigidbody component on this game object and disable gravity on it.
3. Add a script on this object with the trigger method. Choose the action as per preference.
That should be it :)
Here is the final result.
Thank you very much