- Home /
How do I calculate hit detection between 2 lines?
Hi, what happened is that my weapon has Animation to it, and Hit Detection is calculated via RayCast.
During Previous and Current Frame, if the Motion move too fast, then the Object inbetween won't get register as a hit.
My Question is, is there anyway to see if anything between the green Area got hits, BESIDE THESE 2 METHODS
Between A1-B2 Do multiple intermediate RayCasts to Points between A2-B2
Calculate and Generate MeshCollider, then delete them every Update.
THX in Advance.
Your answer
![](https://koobas.hobune.stream/wayback/20220613151732im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Raycast, Calculate Random Direction 1 Answer
Raycast is finding all items/script is finding all items - inventory help 1 Answer
Raycast hit info not registering on specific gameobject 0 Answers
Why do my bullets only destroy themselves sometimes after colliding with the wall? 0 Answers
aiming error 0 Answers