V-REP offers a very powerful and efficient way to simulate proximity sensors. The user can model almost any type of proximity sensor, from ultrasonic to infrared, and so on. The scene objects that allow for this functionality are proximity sensors (which are different from vision sensors), which can detect detectable entities. Following figures illustrates simulations using proximity sensors:
[Mobile robots using proximity sensors]
Proximity sensors are added to the scene with [menu bar --> Add --> Proximity sensor].