Grid Placement

ManipulationSettings

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: systems/manipulation/manipulation_settings.gd

Version: 5.0

class_name: ManipulationSettings extends: GBResource

Summary

Settings concerning moving objects within the game world

Signals

(none)

Exports

  • enable_demolish
    • Allows objects which that have a Manipulatable component with demolish enabled to be removed by the demolish manipulation function
  • demolish_while_moving
    • Whether an object that is selected for moving can be demolished while is it being moved in move mode
  • enable_rotate
    • Allows the building system to rotate objects left and right during build mode
  • enable_flip_horizontal
    • Allows the building system to flip objects horizontally during build mode
  • enable_flip_vertical
    • Allows the building system to flip objects vertically during build mode
  • reset_transform_on_manipulation
    • Whether the transform of the manipulation target object should be reset to Transform2D.IDENTITY when starting a manipulation [br][br] This may be most useful when moving RigidBody2Ds or other objects that rotate during gameplay to make placing to a new location clean as the original scene designates.
  • disable_layer_in_manipulation
    • Whether you want to disable a layer when a manipulation like a move starts until it is canceled or finished
  • move_suffix
    • String to append to an object’s move copy node name to differentiate it from the original source object
  • demolish_success
    • Message displayed when demolish succeeds
  • failed_not_demolishable
    • Message when target cannot be demolished
  • demolish_already_deleted
    • Message when demolish target was already deleted
  • move_started
    • Message when move action starts
  • move_success
    • Message displayed when move succeeds
  • failed_to_start_move
    • Message when move fails to start
  • no_move_target
    • Message when there is no move target
  • failed_placement_invalid
    • Message when placement at target location is invalid
  • all_succeeded
    • Message when all placement rules succeed
  • failed_to_setup_rules
    • Message when rule setup fails
  • target_not_rotatable
    • Message when target cannot be rotated
  • target_not_flippable_horizontally
    • Message when target cannot be flipped horizontally
  • target_not_flippable_vertically
    • Message when target cannot be flipped vertically
  • invalid_data
    • Message when manipulation data is invalid
  • failed_manipulation_state_invalid
    • Message when manipulation state validation fails
  • failed_object_not_manipulatable
    • Message when object is not manipulatable
  • failed_root_not_assigned
    • Message when root node is not assigned
  • failed_root_not_node2D
    • Message when root is not a Node2D
  • failed_no_target_object
    • Message when there is no target object
  • target_not_manipulatable
    • Message when target is not manipulatable
  • unsupported_node_type
    • Message for unsupported node types

Methods

  • get_editor_issues()
  • get_runtime_issues()