Please add to physics.ray_cast(…) function one additional optional argument – “response_receiver”. And then send “ray_cast_response” messages to this object, instead of the caller of physics.ray_cast.
If this parameter omitted, then function will behaves as is.
1 Like