# How to get mesh information for point cloud collision detection?

**URL:** <https://forums.unrealengine.com/t/how-to-get-mesh-information-for-point-cloud-collision-detection/1502854>\
**Category:** Blueprint\
**Tags:** collision-detection, unreal-engine, point-cloud, Blueprint, question\
**Created:** [December 7, 2023, 5:57pm UTC](https://forums.unrealengine.com/t/how-to-get-mesh-information-for-point-cloud-collision-detection/1502854 "2023-12-07T17:57:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skone97](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skone97](https://forums.unrealengine.com/u/Skone97)\
**Post date:** [December 7, 2023, 5:57pm UTC](https://forums.unrealengine.com/t/how-to-get-mesh-information-for-point-cloud-collision-detection/1502854/1 "2023-12-07T17:57:28Z")

</div>

I work with the lidar point cloud plugin. My goal is to detect when an actor collides with a point in the point cloud and even color the hit points.

There are blueprints for the plugin that allow me to choose between detecting points inside a sphere, a box and point which have been hit by a ray. My problem is that it is possible to make for simple shapes like boxes and spheres but otherwise i can not so easily create the detection out of these shapes for a more complex actor. In addition I can only get the middlepoint of the actor via the get actor location node and have to calibrate the distances and direction for the shapes.

I know it should be possible when i am able to get the point cloud to detect collisions but even after i enabled the feature for the cloud and the actors, they would just pass through.

Does anyone have had the same problem and could help me with that?

Btw I am new to ue5 so excuse me when there’s a simple solution which I am not seeing.

---

<div class="post-metadata">

**Author:** ![mamls123](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mamls123](https://forums.unrealengine.com/u/mamls123)\
**Post date:** [January 29, 2024, 12:15pm UTC](https://forums.unrealengine.com/t/how-to-get-mesh-information-for-point-cloud-collision-detection/1502854/2 "2024-01-29T12:15:15Z")

</div>

Make sure to build collision for your point cloud before you try to line trace
