Class VehiclePart
- Namespace
- LibreRally.Vehicle
- Assembly
- LibreRally.dll
A logical car part derived from a jbeam slot, containing all its nodes and mesh info. Parts marked Detachable become separate physics bodies with a breakable weld.
public class VehiclePart
- Inheritance
-
VehiclePart
- Inherited Members
Properties
BreakStrength
The minimum beamStrength of all beams connecting this part to the rest of the car. This is the force threshold at which it detaches.
public float BreakStrength { get; set; }
Property Value
Detachable
Gets or sets whether this part should become a detachable secondary physics body.
public bool Detachable { get; set; }
Property Value
ExclusiveNodeIds
Node IDs that belong exclusively to this part (not shared with chassis).
public List<string> ExclusiveNodeIds { get; init; }
Property Value
FlexBodies
Mesh objects driven by this part's node groups.
public List<AssembledFlexBody> FlexBodies { get; init; }
Property Value
Name
Gets the name of the part.
public string Name { get; init; }