of     1   

LuckyScaryBookworms
#227815438Tuesday, November 21, 2017 9:19 PM GMT

I am trying to make a game, but I'm not sure how to implement this feature. It is a vehicle building game. Each player builds a vehicle. In order for a car to work it must have: Engine Wheels Gas Tank(That is not empty) All these parts must be connected to the car. How can I sense if the parts are connected to the car? Not every part will be touching one-another so I can't do "IfTouched" or something like that. ----------------------------- My only Idea is that the players parts go into a model and a script check to see if the parts are in the model. However, that still won't check if they are connected. Does anyone have any ideas?
sharkbomb303
#227815807Tuesday, November 21, 2017 9:28 PM GMT

Is there a "Near within studs" event or check? If not Idk.
LuckyScaryBookworms
#227815874Tuesday, November 21, 2017 9:29 PM GMT

That would work. I could do that if it existed. However, that still wouldn't check if it was connected. Does anyone know if the near studs things exists?
SummerEquinox
#227816276Tuesday, November 21, 2017 9:39 PM GMT

You mean the distance between two parts..? That's magnitude. (part1.Position - part2.Position).magnitude Programmer, DevForum Member, RDC Attendee, Roblox QA Tester, and Roblox Beta Tester.

    of     1