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? |