- Home /
Question by
EthanMango · Aug 05, 2018 at 10:19 PM ·
2dcollider2dcursorcollision2d
Can't detect cursor collision when moving too fast (2D)
I'm trying to check when my cursor passes through a collider, but if i move my mouse too fast, it will skip the collider entirely and not register as a collision. (2D game) Anyone know what I could do? I only want to check a collision at a specific point (where the cursor is) to the rest of the gameobjects.
Comment
Answer by lennart862 · Aug 06, 2018 at 05:59 AM
Interpolate between mouse position updates and then raycast in the intervals you need
Your answer
![](https://koobas.hobune.stream/wayback/20220612172247im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
2d rigidbody falling from the collider when it is moved 3 Answers
Bullet hit the collider of a child object 1 Answer
Prevent objects from pushing eachother on collide 1 Answer
Small 2D collider passing through other thin collider 2 Answers
How to make a little wiggle room for the collision? 1 Answer