#detect collision between two divs
4 messages · Page 1 of 1 (latest)
well, i do. However, whether I'm trying to use framer motion, i got many problems using react. For instance, it does not execute useEffect correctly, so i was thinking about other solutions.
I am not sure if MotionOne does have collision detection. But you can give it a try.
Alright, I was thinking about the code again and i found a solution