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

A list of all Actions, Conditions and Expressions supported in this addon.

Repulsion

  • Actions

    Set repulsion {0}

    Enable or disable the repulsion behavior for this object.

    Set repulsion distance to {0}

    Set the minimum distance objects will try to maintain from each other.

    Set repulsion mode to {0}

    Set the collision detection mode for repulsion.

    Set repulsion strength to {0}

    Set how strongly objects push each other away.

    Set repulsion static {0}

    Set whether this object is a static obstacle. Static objects repel others but are not moved by repulsion forces.

  • Conditions

    Repulsion is enabled

    Check if the repulsion behavior is currently enabled for this object.

    Repulsion is static

    Check if this object is set as a static obstacle (not moved by repulsion).

  • Expressions

    IsEnabledValue

    Get whether repulsion is enabled for this object (returns 1 or 0).

    IsStaticValue

    Get whether this object is static (returns 1 or 0).

    OverlapCount

    Get how many other objects are currently overlapping with this one.

    PushForceX

    Get the current X repulsion push force applied this tick (pixels per second).

    PushForceY

    Get the current Y repulsion push force applied this tick (pixels per second).

    RepulsionDistance

    Get the current repulsion distance for this object.

    RepulsionMode

    Get the current repulsion mode ('circle' or 'rectangle').

    RepulsionStrength

    Get the current repulsion strength for this object.