Skip to content

PartFit

public sealed class PartFit

Namespace Chassis.Api

Added in 1.3.0

Where a part sits on one vehicle code, in the car’s own space (its root transform).

public Vector3 Position

Added in 1.3.0

public Vector3 Rotation

Added in 1.3.0

Euler angles in degrees.

public Vector3 Scale = Vector3.one

Added 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).