# Raycasting to point cloud tileset

**URL:** <https://community.cesium.com/t/raycasting-to-point-cloud-tileset/39198>\
**Category:** Cesium for Unity\
**Created:** [March 10, 2025, 11:36pm UTC](https://community.cesium.com/t/raycasting-to-point-cloud-tileset/39198 "2025-03-10T23:36:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tkorho89](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/tkorho89/32/12429_2.png) [@Tkorho89](https://community.cesium.com/u/Tkorho89)\
**Post date:** [March 10, 2025, 11:36pm UTC](https://community.cesium.com/t/raycasting-to-point-cloud-tileset/39198/1 "2025-03-10T23:36:17Z")

</div>

Hi, how can I make a raycast to a tileset that contains point cloud in Cesium for Unity? At least the colliders seems not to work automatically with raycastin. Eventually I would like to have the x,y,z coordinates of the rays intersection point to the point cloud.

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [March 19, 2025, 9:08am UTC](https://community.cesium.com/t/raycasting-to-point-cloud-tileset/39198/2 "2025-03-19T09:08:37Z")

</div>

Hi @Tkorho89, unfortunately we do not currently have a way to ray cast against point clouds in Cesium for Unity.

---

<div class="post-metadata">

**Author:** ![Tkorho89](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/tkorho89/32/12429_2.png) [@Tkorho89](https://community.cesium.com/u/Tkorho89)\
**Post date:** [March 19, 2025, 9:23am UTC](https://community.cesium.com/t/raycasting-to-point-cloud-tileset/39198/3 "2025-03-19T09:23:00Z")

</div>

Is there any method to retrieve the coordinates of the point clouds points like picking etc. ? Seems weird if the measurement data (point cloud) cannot be measured in any way.

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [March 20, 2025, 9:45am UTC](https://community.cesium.com/t/raycasting-to-point-cloud-tileset/39198/4 "2025-03-20T09:45:21Z")

</div>

Hi @Tkorho89,  
It should be possible to access the raw point data, if that helps. Use `GetComponentsInChildren<MeshFilter>()` on the `GameObject` with the `Cesium3DTileset`, and then acess the `sharedMesh` of each. On each `Mesh`, access the `vertices` property.
