public static GearMesh AddGear(Vector3 position, GearStructure gearStructure, Material meshMat = null, bool attachRigidbody = true) { return(AddGear(position, gearStructure.InnerRadius, gearStructure.RootRadius, gearStructure.OuterRadius, gearStructure.Sides, meshMat, attachRigidbody)); }
public void Build(GearStructure gearStructure, Material meshMat = null) { Build(gearStructure.InnerRadius, gearStructure.RootRadius, gearStructure.OuterRadius, gearStructure.Sides, meshMat); }
public void Build(GearStructure gearStructure, Material meshMatt = null) { Build(gearStructure.innerRadius, gearStructure.rootRadius, gearStructure.outerRadius, gearStructure.sides, meshMatt); }