Sensor Plugin with Sandcastle

Hi,

I need to use ceisium sensors, I knew that there is an older version plugin available on the website, but I don’t know how to use it with sandcastle objects. In addition to that, how I can get the orientation of my sensor? Can you help me with this please?

Thanks,

Sandcastle doesn’t provide a way to use external files and is only meant for learning and playing with the core Cesium API. You should not base a real application around Sandcastle. The sensors plug-in itself is officially unsupported, but the repository still has valid instructions for using it, though the code might require some updates. Others have forked the repository and may have maintained working versions.

Thanks Matthew,

I actually finally did it, but I will listen to you and try to create my own file independent of Sandcastle. Just for future references to use Sensor in Sandcastle, I just copied and pasted the build contents of the Sensor folder into the build section of my Cesium directory and gave its address as follow:

<script type="text/javascript" src="../../../Build/CesiumSensors.js"></script>

About my Sandcastle header.

Best,