Hi,
Is it possible to use ray casting via physics.ray_cast function in 2D game and if it is how to do it? I tried using the physics.ray_cast function but I keep getting the “Ray had 0 length when ray casting, ignoring request.” message when only z value differs between start and end vectors of the ray.
I want to use ray cast to find out what game object is selected by a player or to find game objects nearby the selected one.
Thx.