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. |
Tutorials built on Grid Placement
- Godot multiplayer grid placement: one host, four sessions
- Godot 2D grid building system: paint, place, save
- Godot 3D grid building system: the runtime loop
- Godot 4 grid-building plugins: build mode vs editor tools
- 3D room placement in Godot: build rooms and stack storeys
- 3D grid placement in Godot 4: full setup tutorial
- Snap to a TileMap in Godot: 2D grid placement
- How to make a farming system in Godot
- How to snap objects to a 3D grid in Godot