# Ray cast Observation for obstacles detection and Rewards

**URL:** <https://forums.unrealengine.com/t/ray-cast-observation-for-obstacles-detection-and-rewards/1836583>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Learning-Agents, question\
**Created:** [May 2, 2024, 2:27pm UTC](https://forums.unrealengine.com/t/ray-cast-observation-for-obstacles-detection-and-rewards/1836583 "2024-05-02T14:27:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Delladep](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Delladep](https://forums.unrealengine.com/u/Delladep)\
**Post date:** [May 2, 2024, 3:59pm UTC](https://forums.unrealengine.com/t/ray-cast-observation-for-obstacles-detection-and-rewards/1836583/2 "2024-05-02T15:59:24Z")

</div>

This could be useful: [https://forums.unrealengine.com/t/what-is-the-best-way-to-add-ray-cast-to-observations-learning-agents-5-4/1817197](https://forums.unrealengine.com/t/what-is-the-best-way-to-add-ray-cast-to-observations-learning-agents-5-4/1817197)

---

_[View the full topic](https://forums.unrealengine.com/t/ray-cast-observation-for-obstacles-detection-and-rewards/1836583)._
