DiscoverLearnDocumentationGet OpenPLXSearch Contact

Physics/Interactions/Interaction.openplx

Interaction

Interaction:
    with Physics.Signals.BoolInputTrait
    with Physics.Signals.BoolOutputTrait
    .doc: """
Base type for Interaction
Examples of interactions are force fields, hinges or static electricity
"""
    enabled is Bool: true
    charges is Physics.Charges.Charge[]

    enable_interaction_input is Physics.Signals.EnableInteractionInput:
        source: this
    interaction_enabled_output is Physics.Signals.InteractionEnabledOutput:
        source: this
        enabled: false