grid-sensor
grid-sensor copied to clipboard
Detectable objects with equal tags but on differing layers are not detected by GridSensor
(except for objects on the same layer as the prefab that was dragged to the "Add detectable object" field in the Inspector) A quick hack in GameObjectDetector solved the issue for me:
public GameObjectSettingsMeta Settings { set { m_Settings = value; m_LayerMask = value.LayerMask | 1 << 7; //Need to detect objects on layer 7 too } }
Anyway, thank you SO much for your splendid work, it's been of great use!
Thanks for pointing this out - glad to hear there was an easy fix.