Ray cast Observation for obstacles detection and Rewards

Thanks, the point is not how to add raycast on the observation, but if is it still need to add on the agent a Hit event