Hi fellows,
Trigger 2d not responsive to player or any objects. Tried in multiple projects and scenes, not working. Googled and don't see much of this issue and thinking this might be me missing something. Please see attached for player and trigger setting.
Cheers,
Joe
Comments
The Trigger2D objects rely on Unity's physics system, so the standard requirements still apply: in order for a 2D Trigger to detect an object, the object must have a Rigidbody2D on it. Add this component to your player and it should work.
Going by your screenshot, it seems you're working in "Top Down" 2D mode. Is this the case?
Unless you're too far into your project, I would recommend switching to "Unity 2D" mode instead, as Top Down requires you to use 3D Rigidbodies / Colliders instead of 2D ones, and "Unity 2D" is the default 2D mode. This is changed in the "Moving and turning" option in your Settings Manager.
If you remain in Top Down mode, you'll have to swap out your Rigidbody2D for a regular Rigidbody. Top Down mode works in the X/Z plane, so a Rigidbody2D has no effect here (it only works in X/Y).
When you switch to Unity 2D mode, the Hotspot, Trigger etc prefabs in the Scene Manager become their 2D counterparts, but if you want to replace your existing logic prefabs with 2D ones, it'd probably be quicker to manually remove their Box Colliders and add Box Collider 2Ds. Just don't hit that "Apply" prefab button at the top!