tinarg
|
  |
| Joined: 18 Jun 2010 |
| Total Posts: 4925 |
|
|
| 07 Jun 2015 04:43 PM |
Title says all. I wanna know how many welds a model has collectively.
I don't mean the weld surface. I mean, like, physical joints between parts. |
|
|
| Report Abuse |
|
|
EgoMoose
|
  |
| Joined: 04 Feb 2009 |
| Total Posts: 2896 |
|
|
| 07 Jun 2015 04:57 PM |
Then what you need to do is use a recursive function to look for joints and then count them.
http://wiki.roblox.com/index.php?title=Recursion |
|
|
| Report Abuse |
|
|
tinarg
|
  |
| Joined: 18 Jun 2010 |
| Total Posts: 4925 |
|
|
| 07 Jun 2015 05:03 PM |
| How would you find a joint to begin with? I know that manual welds can be easily found, but what about ones that are created when two weld surfaces are stuck together? |
|
|
| Report Abuse |
|
|
EgoMoose
|
  |
| Joined: 04 Feb 2009 |
| Total Posts: 2896 |
|
|
| 07 Jun 2015 08:42 PM |
| http://wiki.roblox.com/index.php?title=API:Class/BasePart/GetConnectedParts |
|
|
| Report Abuse |
|
|