rex_physics_gravitation
Source or Target
Object could be classified into "Source" or "Target", which is set in properties table. They both have tag properties, "Source tag" and "Target tag". Target will be attracted with sources which have the same tag.
A object could be a source and a target at the same time.
Object could be classified into "Source" or "Target", which is set in properties table. They both have tag properties, "Source tag" and "Target tag". Target will be attracted with sources which have the same tag.
A object could be a source and a target at the same time.
Source
Gravitation source. It also has "Force" property which is the applying force to target, and "Sensitivity range" property which is the maximum distance between source and target to gravitate, 0 is infinity.
When a target has been attracting, "Condition:Begin attracting" will be triggered. Get the target by "Expression:TargetUID".
"Condition:End attracting" will be triggered when target out of range to be attracted, also get the target by "Expression:TargetUID".
Gravitation source. It also has "Force" property which is the applying force to target, and "Sensitivity range" property which is the maximum distance between source and target to gravitate, 0 is infinity.
When a target has been attracting, "Condition:Begin attracting" will be triggered. Get the target by "Expression:TargetUID".
"Condition:End attracting" will be triggered when target out of range to be attracted, also get the target by "Expression:TargetUID".
Target
Gravitated by source. It needs to have official physics behavior, to move this instance.
"Condition:Begin attracted" or "Condition:End attracted" will be triggered when beginning attracted by source, or target out of range to be attracted. Get source by "Expression:SourceUID".
Gravitated by source. It needs to have official physics behavior, to move this instance.
"Condition:Begin attracted" or "Condition:End attracted" will be triggered when beginning attracted by source, or target out of range to be attracted. Get source by "Expression:SourceUID".