wacky444
(wacky444)
July 5, 2020, 7:33pm
#1
I have a game where the player can build using a clone tool.
I want MakeJoints only to join parts where the studs-inlet rule apply. Something has changed and it doesn’t work like that anymore:
When the player releases the click, the server runs newPart:MakeJoints() but the part sticks to anything, ignoring if the surface has studs or not.
One solution i think may work is to weld the parts manually since MakeJoints is deprecated, Workspace:MakeJoints
But i think it may be overkilling.
Thanks in advance.
1 Like
Styre_x
(Styrex)
July 5, 2020, 8:09pm
#2
Most everything you’re using here is going to be removed or is deprecated. Surfaces are now being removed (might have already been removed, not 100% sure) Changes to Part Surfaces
Would it be possible to use a WeldConstraint
?
1 Like
wacky444
(wacky444)
July 5, 2020, 8:20pm
#3
That is what i was looking for, maybe i can check if it’s a baseplate or something i don’t want to weld and ignore it.
wacky444
(wacky444)
July 6, 2020, 7:46pm
#4
I ended up using GetTouchingParts(), but it also gets adjacent parts? - #9 by Trioxide
To get the closer parts and weld them if they are not a base part.