Class JBeamFlexBody
- Namespace
- LibreRally.Vehicle.JBeam
- Assembly
- LibreRally.dll
Associates a rendered object with the driving node collections.
public record JBeamFlexBody : IEquatable<JBeamFlexBody>
- Inheritance
-
JBeamFlexBody
- Implements
- Inherited Members
Constructors
JBeamFlexBody(string, List<string>, Vector3?, Vector3?, Vector3?)
Associates a rendered object with the driving node collections.
public JBeamFlexBody(string Mesh, List<string> Groups, Vector3? Position = null, Vector3? Rotation = null, Vector3? Scale = null)
Parameters
MeshstringMesh object name from the source model.
GroupsList<string>Node groups that drive the flexbody.
PositionVector3?Optional flexbody position offset in BeamNG space.
RotationVector3?Optional flexbody rotation offset in BeamNG space.
ScaleVector3?Optional flexbody scale override.
Properties
Groups
Node groups that drive the flexbody.
public List<string> Groups { get; init; }
Property Value
Mesh
Mesh object name from the source model.
public string Mesh { get; init; }
Property Value
Position
Optional flexbody position offset in BeamNG space.
public Vector3? Position { get; init; }
Property Value
Rotation
Optional flexbody rotation offset in BeamNG space.
public Vector3? Rotation { get; init; }
Property Value
Scale
Optional flexbody scale override.
public Vector3? Scale { get; init; }