Checking collisions between two parts manipulated by cframe

How can i check “collisions” between two parts whose positions are being changed with cframe? The issue is that both instances are in a viewport frame, and using :GetPartsInPart() or similar methods doesn’t work (or i did it wrong?)

Also, checking with position would be a painful process because neither parts are squares

Did you use worldModel:GetPartsInPart()?

Yes, that’s literally stated in the post

I don’t think you can because parts in a viewport frame are not physically simulated. Perhaps you could have two identical parts in a hidden place in the workspace and use the method on those.

I solved this by inserting a world model into the viewport frame, and using overlap params with it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.