I have 2 parts: Part1 and Part2.
Both are ANCHORED.
I want to move Part1 with the mouse and detect the collision with Part2.
For that, I change and change Part1.CFrame
, inside UserInputService.InputChanged
, based on the mouse RayCast.
I realized that Touched
will not be activated by CFrame if BOTH parts are anchored.
But if I leave Anchored=false
for some part, it will be affected by physics, moving when there is a collision.
I just want to detect if one part collided with the other, using CFrame.
How to do this?