Change volume colour of proximity sensor from script
Posted: 24 Aug 2018, 15:51
Through the GUI one can click on a proximity sensor in the hierachy, then "adjust volume colour" in the "scene object properties" dialog box, then change things like ambient colour or visual pulsation frequency. Is there any way to do this from within a child script, I'm using proximity sensor to send line of sight messages within their illuminatex cones and it would be really helpful for debugging if I could write child scripts such that the cone's visible colour changes when I am sending particular messages. I wondered if some sort of sim.getObjectInt32Paramter() call might help, but I don't thyink there is a parameter available for editing proximity sensor volume colour http://www.coppeliarobotics.com/helpFil ... itySensors . Is there any method y which I might achieve the changing of the volume colour of a proximity sensor from within the child script of the robot which has the proximity sensor as a child object?