PartFit
public sealed class PartFitNamespace Chassis.Api
Added in 1.3.0
Where a part sits on one vehicle code, in the car’s own space (its root transform).
Fields
Section titled “Fields”Position
Section titled “Position”public Vector3 PositionAdded in 1.3.0
Rotation
Section titled “Rotation”public Vector3 RotationAdded in 1.3.0
Euler angles in degrees.
public Vector3 Scale = Vector3.oneAdded in 1.3.0
public List<Bounds> Cut = new List<Bounds>()Added in 1.3.0
Boxes in the car’s space. While the part is on, Chassis removes the body triangles whose centre lies inside, on every level of detail, so the stock bumper or wing does not show through the part.
public List<string> Hide = new List<string>()Added in 1.3.0
Names of objects under the car that Chassis hides while the part is on (stock parts of a modded car).