Hello! I’m trying to check if a Union part is touching another part’s pivot point. This Part’s Position can be random and size is not uniform. Not much I can tack on to make this post longer.
Thanks for replying!
Hello! I’m trying to check if a Union part is touching another part’s pivot point. This Part’s Position can be random and size is not uniform. Not much I can tack on to make this post longer.
Thanks for replying!
You could spawn a new part and make it pretty small (0.1^3, or smaller) and then move it to the other part’s pivot point, and from there check if the union is touching the small part.
Ah, I encountered a new issue. The Part is actually many. Laid out in grid formation. and the union can touch multiple parts in the grid at the same time. (for reference the union is 1x1x1), Therefor the New Part would need to be infinitely small. ( I will not be changing size of union)
Oh sorry then, I’m not entirely sure. You could go the complex way and use maths to calculate whether it would be touching by using the parts position and size properties and comparing them to the world pivot position of the other parts
Nah, It’s not needed I just changed the size to Vector3.new(0.001, 3, 0.001) It works enough
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.