Can the near sensor be use a switch?
Having Cube1 near Cylinder I want the Cube1 to do a infinite continuous movement.

In my file Cube1 stops once it goes out of range of the near sensor. Is there a way to make it move forever once it triggers the near sensor?

  • 3
    $\begingroup$ Try to describe your problem as best as you can, not everyone has the time to pull down your file and poke around to see what you want. $\endgroup$
    – iKlsR
    Commented Jan 21, 2015 at 22:06
  • $\begingroup$ That's the point of the near sensor. $\endgroup$ Commented Jan 21, 2015 at 23:08
  • $\begingroup$ There was some confusion about what you were asking, so I've edited your question to try and make it clearer. If I'm wrong, feel free to roll back my edits and/or edit it again :) $\endgroup$
    – gandalf3
    Commented Jan 22, 2015 at 2:44

2 Answers 2


Although you could have the reset distance at 10,000 blender units before it stops moving, and this may work for what you want, that is not at all the correct way to do this.

From what I can tell from your question, you want to have the cube detect being near the cylinder, and then after that, you want the cube to continuously move. The Near sensor detects the distance from the cylinder, and that sets the Boolean property to true. When the Boolean property is true, it will continuously make the cube move.

If you wanted to make the cube stop moving, you could simply have another property actuator assign the value of the property "PropName" to false. then the property "PropName" will obviously no longer be true, and thus "Property" (sensor) will no longer be true and will not send the positive pulses to "Motion" (actuator) and as a result, the motion will stop.


The simple answer is to increase the Reset Distance of the near sensor. If you set it to the maximum of 10000 then the object needs to be 10000 blender units away from the triggering object before it stops moving.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .