Can you add the function to change volume range of proximity sensor using API?
Looking forward to adopt this suggestion!
A request for chaging volume range of proximity sensor using API
-
- Posts: 38
- Joined: 23 Jan 2018, 16:16
Re: A request for chaging volume range of proximity sensor using API
Hello,
you can scale object with in an non-isometric manner
With Proximity sensors, this depends on the sensor. You'll have to try this out.
Another option would be to dynamically create the sensor with
Cheers
you can scale object with in an non-isometric manner
sim.scaleObject
. But this only works where it makes sensor. E.g. you can only isometrically scale primitive spheres, with primitive cylinders, X and Y directions are linked, etc.With Proximity sensors, this depends on the sensor. You'll have to try this out.
Another option would be to dynamically create the sensor with
sim.createProximitySensor
.Cheers