diff --git a/addons/block_code/blocks/lifecycle/physics_process.tres b/addons/block_code/blocks/lifecycle/physics_process.tres new file mode 100644 index 00000000..a60c7048 --- /dev/null +++ b/addons/block_code/blocks/lifecycle/physics_process.tres @@ -0,0 +1,17 @@ +[gd_resource type="Resource" load_steps=2 format=3 uid="uid://bc8ves8k3jwy8"] + +[ext_resource type="Script" path="res://addons/block_code/code_generation/block_definition.gd" id="1_gdr77"] + +[resource] +script = ExtResource("1_gdr77") +name = &"physics_process" +target_node_class = "" +description = "Attached blocks will be executed before each physics step" +category = "Lifecycle" +type = 1 +variant_type = 0 +display_template = "every physics step" +code_template = "func _physics_process(delta):" +defaults = {} +signal_name = "" +scope = ""