Behavior : Gravitation

Author:Rex.Rainbow

Download

Properties

Source

  • Gravitation source.
    • Options : ["No","Yes"]

Source tag

  • Target will be attracted with sources which have the same tag.

Force

  • Applying force to target. Source only.

Sensitivity range

  • Appling force when distance is less then this range. 0 is infinity. Source only.

Target

  • Gravitated by source.
    • Options : ["No","Yes"]

Target tag

  • Target will be attracted with sources which have the same tag.

Actions

Action:Set force

  • Set applied force for source.
    • Force ( number ) : Gravitation force.

Activated

Action:Set source enable

  • Enable to be a gravitation source.
    • Source ( Combo ) : Enable to be source.
      • Options : ["No","Yes"]

Action:Set target enable

  • Enable to be a gravitation target.
    • Target ( Combo ) : Enable to be target.
      • Options : ["No","Yes"]

Sensitivity

Action:Set sensitivity range

  • Set sensitivity range for source.
    • Range ( number ) : Sensitivity range.

Tag

Action:Set source tag

  • Set source tag.
    • Source tag ( string ) : Source tag.

Action:Set target tag

  • Set target tag.
    • Target tag ( string ) : Target tag.

Expressions

Expression:Force

  • Get applied force.

Expression:Range

  • Get sensitivity range.

Enable

Expression:IsSource

  • 1 is source.

Expression:IsTarget

  • 1 is target.

Source

Expression:SourceUID

  • Get attracting source uid.

Tag

Expression:SourceTag

  • Get source tag.

Expression:TargetTag

  • Get target tag.

Target

Expression:TargetUID

  • Get attracted target uid.

Conditions

Source

Condition:Begin attracting

  • Triggered when attracting beginning, to get attracted target uid.

Condition:End attracting

  • Triggered when attracting end, to get attracted target uid.

Condition:Has attracting

  • Source has attracting target.

Target

Condition:Has been attracted

  • Target has been attracted by source.

Condition:Begin attracted

  • Triggered when attracted beginning, to get attracted source uid.

Condition:End attracted

  • Triggered when attracted ending, to get attracted source uid.