A request for chaging volume range of proximity sensor using API

Requests or suggestions for new features
Post Reply
biscuit122
Posts: 38
Joined: 23 Jan 2018, 16:16

A request for chaging volume range of proximity sensor using API

Post by biscuit122 »

Can you add the function to change volume range of proximity sensor using API?

Looking forward to adopt this suggestion!

coppelia
Site Admin
Posts: 10337
Joined: 14 Dec 2012, 00:25

Re: A request for chaging volume range of proximity sensor using API

Post 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

Post Reply