poojapol01 / AR-Ballon-Shooter

AR Balloon shooter provides challenging gameplay of shooting and bursting balloons before they go out of your reach.
0 stars 0 forks source link

Balloons not getting destroyed even after collision #1

Closed poojapol01 closed 1 year ago

poojapol01 commented 1 year ago

Ballons not getting destroyed even after collision detection

poojapol01 commented 1 year ago

Resolved issue by changing below: if (Physics.Raycast(arCamera.transform.position, arCamera.transform.up, out hit)) to if (Physics.Raycast(arCamera.transform.position, arCamera.transform.forward, out hit))