A request for chaging volume range of proximity sensor using API

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

A request for chaging volume range of proximity sensor using API

Post by biscuit122 » 18 Oct 2019, 15:19

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

Looking forward to adopt this suggestion!

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

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

Post by coppelia » 18 Oct 2019, 16:34

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