Discover Learn Reference Get OpenPLX Search Contact

Physics3D.Interactions.RedirectedMateConnector has been removed. Use a Physics3D.Interactions.MateConnector with the Physics3D.Interactions.ConnectorProperties.Redirected trait instead. The redirected_parent assignment remains on the connector.

Physics.Interactions.Interaction no longer provides a connectors array. Interactions that use a generic connector array now apply Physics.Interactions.Configurations.ConnectorArray. An interaction with a specialized connector type can declare its own connectors array instead.

Migrate 0.30.x models with:

python3 openplx.cli/scripts/migration_tool.py --from 0.30.0 --to 0.31.0 path/to/models

The migration keeps any additional traits, including Adaptive. For a named connector model, it places the Redirected trait in the model body:

MyConnector is Physics3D.Interactions.MateConnector:
    with Physics3D.Interactions.ConnectorProperties.Redirected

References, array element types, and unions using the removed type become Physics3D.Interactions.MateConnector. They cannot carry an instance trait; check the referenced connectors for Redirected where that distinction matters.

The migration also adds ConnectorArray to direct declarations of Physics.Interactions.Interaction that inherited its connector array in 0.30:

MyInteraction is Physics.Interactions.Interaction:
    with Physics.Interactions.Configurations.ConnectorArray

Declarations that already apply the trait or define their own connectors field are left unchanged. References, comments, and strings are preserved.

OpenPLX is a work in progress. This draft version will evolve with user feedback and experience. We welcome your input and collaboration.
X