Addon ID

  • lepachino_repulsion

Info

  • License MIT License
  • Copyright icon Copyright lepachino. All rights reserved.

Statistics

  • Download count53 total downloads
  • Latest download count 53 downloads of latest version
  • Average download count1 downloads per day average

Owners

  • Stable

    Version 0.1.1.0

    • Released 4 Apr, 2026
    • 53 downloads

    Repulsion Behavior — a behavior for Construct 3 that causes objects to repel each other and prevent overlap. Ideal for crowds of monsters, solid projectiles, and physics without a full physics engine.

    Properties:

    • Enabled — enable/disable repulsion

    • Repulsion Distance — minimum distance between objects (pixels)

    • Repulsion Strength — repulsion strength (0.01–10)

    • Repulsion Mode — collision mode: Circle (by radius) or Rectangle (AABB)

    • Static — the object repels others but does not move itself (walls, barriers)

    Actions:

    • Set enabled — enable/disable

    • Set repulsion distance — set distance

    • Set repulsion strength — set strength

    • Set repulsion mode — Circle / Rectangle

    • Set static — make object static

    Conditions:

    • Repulsion is enabled

    • Repulsion is static

    Expressions:

    • RepulsionDistance — current distance

    • RepulsionStrength — current strength

    • RepulsionMode — current mode

    • OverlapCount — how many objects are currently overlapping

    • PushForceX / PushForceY — current push force along the axes

    • IsEnabledValue / IsStaticValue — 1 or 0