Proximity sensor detect shape

Typically: "How do I... ", "How can I... " questions
Post Reply
Posts: 3
Joined: 26 Jul 2017, 22:59

Proximity sensor detect shape

Post by deathstar »


I'm trying to get the proximity sensor to detect a basic shape. I've added both to the scene and wrote a simple script to get the vrep.simxReadProximitySensor() returned value. It returns True when I add a pre-existing object , such as a laptop, but it doesn't work when I used a custom shape.

It is set as renderable, collidable, detectable ...

Any suggestions?

Thanks \

Site Admin
Posts: 7977
Joined: 14 Dec 2012, 00:25

Re: Proximity sensor detect shape

Post by coppelia »


does the sensor appear to detect the object in V-REP? (i.e. is it a remote API related problem, or a proximity sensor / shape problem?


Post Reply