How to detect big laser hits ?
I am trying to create a laser which increases in size as the game progresses.For Small lasers Physics.Raycast works well.For big laser it is not detecting the hit. Do I have to project something else like a rectangle ? Or creating a trigger collider and enabling/disabling it based on the laser ?
Answer by Cooperall · Sep 07, 2019 at 09:22 PM
A trigger collider should work fine as long as your collider isn't too small (within 1-5 units of size). Could you provide more detail about what the lasers actually look like and function?
Your answer
![](https://koobas.hobune.stream/wayback/20220612211811im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Line Renderer not showing in build mode 0 Answers
Problem with Reflecting Laser (RaycastHit2D and Line Renderer) 0 Answers
How to make a Laser projector like shown. 1 Answer
SteamVR_LaserPointer Color changes from Unity Editor to Game Build 1 Answer
Bloom effect makes some weird flashes when the character moves 0 Answers