Page 1 of 1
A request for chaging volume range of proximity sensor using API
Posted: 18 Oct 2019, 15:19
by biscuit122
Can you add the function to change volume range of proximity sensor using API?
Looking forward to adopt this suggestion!
Re: A request for chaging volume range of proximity sensor using API
Posted: 18 Oct 2019, 16:34
by coppelia
Hello,
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