Hy You all,
is it possible to raycast a single particle?
I’ve tried without success! with and without the world particle collider and I’m pretty sure the ray casting code works fine, 'cause it does function with other game objects.
Thanks in advance
void Update () {
if(Input.GetButtonDown("Fire1"))
{
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
RaycastHit hit = new RaycastHit();
if(Physics.Raycast(ray, out hit, 100.0f))
{
Debug.Log("hit");
}
}
}