I am using python to change the distance at which the near sensor uses to trigger.
When the object comes within range, the script decreases the near sensor range to 1 (Works Perfectly).
After some time the near sensor range is reset back to 8 using another script. BUT the range of the near sensor does not refresh so the range stays at 1. The only way for the sensor to refresh is to get a object to hit the near sensor which still uses it’s old range of 1 to change the range of the sensor to 8.
Is there anyway to refresh the sensor without using another object to trigger and refresh the near sensor?
p.s I have used Show Physics Visualization to check the range and I did use python to retrieve the sensores range which did say 8 but was still using a range of 1 in the game.