Messages for a CollisionsCheckRule. One resource can be shared by several rules.
Source: addons/grid_placement/placement/placement_rules/resources/collision_rule_settings.gd
Syntax
class CollisionRuleSettings extends ResourceMembers
| Name | Kind | Summary |
|---|---|---|
success_message | Property | Shown in the action log when the rule passes and ActionLogSettings.print_success_reasons is on. |
no_indicators_message | Property | Shown when the object has no collision shapes to check, so the rule fails. |
fail_blocked_message | Property | Shown when something is in the way. %d is replaced with the number of blocked tiles. |
fail_missing_overlap_message | Property | Shown when the rule needs an overlap and does not find one (see CollisionsCheckRule.pass_on_collision). %d is replaced with the number of tiles missing an overlap. |
prepend_resource_name | Property | Starts each failure message with the rule's resource name. Useful while debugging. |
append_layer_names | Property | Adds the checked physics layers to each failure message. Useful while debugging. |
layers_tested_prefix | Property | Text shown before the list of checked layers. |