Class AssembledNode
- Namespace
- LibreRally.Vehicle
- Assembly
- LibreRally.dll
A single assembled node: a named point-mass in the vehicle graph. Positions use BeamNG coordinate space (Y-forward, Z-up).
public record AssembledNode : IEquatable<AssembledNode>
- Inheritance
-
AssembledNode
- Implements
- Inherited Members
Constructors
AssembledNode(string, Vector3, float, List<string>, bool)
A single assembled node: a named point-mass in the vehicle graph. Positions use BeamNG coordinate space (Y-forward, Z-up).
public AssembledNode(string Id, Vector3 Position, float Weight, List<string> Groups, bool Collision)
Parameters
IdstringUnique node identifier.
PositionVector3Node position in BeamNG space.
WeightfloatNode mass in kilograms.
GroupsList<string>Node groups assigned to the node.
CollisionboolWhether the node participates in collision.
Properties
Collision
Whether the node participates in collision.
public bool Collision { get; init; }
Property Value
Groups
Node groups assigned to the node.
public List<string> Groups { get; init; }
Property Value
Id
Unique node identifier.
public string Id { get; init; }
Property Value
Position
Node position in BeamNG space.
public Vector3 Position { get; init; }
Property Value
Weight
Node mass in kilograms.
public float Weight { get; init; }