Vehicles/Suspensions/SingleMate/Interfaces/ChassisAttachmentConnectors.openplx
ChassisAttachmentConnectors
trait ChassisAttachmentConnectors: .doc: """ This trait extends a Mate with the chassis-attachment interface. A Suspensions.Interactions.Mate defines a single constraint connection for attaching a surface interacting object (such as a wheel, track etc) to a chassis or the world. By default is has a rotating degree of freedom for a rotating wheel around the main_axis of the connectors. If the Vehicles.Suspensions.Properties.Steering trait is given to the owning Suspension, that opens up a second degree of freedom, orthogonal to the wheel axis along the normal, so that a Steering interaction can be introduced. chassis_connector - The connector that is relative the chassis, and defines the geometry for the suspension. attachment_connector - A reference to the object that is attached to the chassis by the suspension """ chassis_connector is Physics3D.Interactions.MateConnector reference attachment_connector is Physics3D.Interactions.MateConnector reference connectors: [chassis_connector, attachment_connector]