PartProfile
public sealed class PartProfileNamespace Chassis.Api
A lid or a wiper in the model that Chassis moves.
Fields
Section titled “Fields”public string Name = string.EmptyName the API and the debug console use, e.g. “bonnet”, “boot”, “wiper_l”.
public string Kind = "lid"“lid”: opens on request or with the storage. “wiper”: sweeps while it rains and the vehicle runs.
public string Path = string.EmptyPivot below the frame at the hinge or axle; a single name is searched in the whole frame.
Value A path like “Body/BootHinge” or one name like “BootHinge”.
public Vector3 Axis = Vector3.rightHinge or axle in the pivot’s own space at rest.
Value A direction: on a pivot turned like the car, (1, 0, 0) for a bonnet or boot hinged across it and (0, 0, 1) for a wiper axle facing forward.
public float Angle = 60fLid: open angle. Wiper: sweep. In degrees.
Seconds
Section titled “Seconds”public float Seconds = 1.2fLid: seconds to open or close. Wiper: seconds per stroke in light rain.
FastSeconds
Section titled “FastSeconds”public float FastSeconds = 0.8fWiper: seconds per stroke in heavy rain.
public float Sign+1 or -1 for the turning direction; 0 works it out so the part lifts.
Storage
Section titled “Storage”public string Storage = string.EmptyLid: opens while the vehicle’s storage is open from this end, “front” or “rear”; empty never.