How to set origin to cone

how to set origin of cone and enable shadows to the cone

Hi! You can define a cone as an entity in Cesium.

This sandcastle is about cones and cylinders, and this one is about shadows.

This one (that I briefly put together) makes a cone with a shadow. You have to enable both the cone’s shadows and also the viewer’s shadows.

Hope this helps :smiley:

You can transform a cone with a model matrix as described here:!searchin/cesium-dev/cone|sort:date/cesium-dev/n93y2uMzIFA/Oo3tvdfDAgAJ

As for shadows, this thread has an example on that:!searchin/cesium-dev/shadow|sort:date/cesium-dev/FLOUH6ndQhc/x169TP9TBQAJ