I have a race game called bloxy roads. It involves an element of destruction and taking damage.
It felt a godsend having the :GetConnectedParts because I could check for any loose parts and remove them from the car model but an issue arrived because the car steering wheel was only attached via a hingeconstraint and the script would remove the steering wheel since it wasn’t a hinge constraint.
I really want the hinge constraints or at least in a parameter of :GetConnectedParts to also consider hinge constraints. It would help withh my game
Does anyone know how to achieve this? I also need a way to access all parts connected by weld constraints AND hinge constraints in order detect a rigid vehicle made in a vehicle building game (which can have things like motorised hinge constraints and servos)
It doesn’t work with hinge constraints or other moving constraints. I have tested it an the only constraint it will work with are the weld constraints. it also mentions this in the documention: