Skip to content

Commit 5a86a37

Browse files
authored
Merge pull request #342 from endlessm/advanced-block
Adds the every physics step block
2 parents 0d0112e + 7b8f4ad commit 5a86a37

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[gd_resource type="Resource" load_steps=2 format=3 uid="uid://3l8wefwlme2v"]
2+
3+
[ext_resource type="Script" path="res://addons/block_code/code_generation/block_definition.gd" id="1_pmina"]
4+
5+
[resource]
6+
script = ExtResource("1_pmina")
7+
name = &"physics_process"
8+
target_node_class = ""
9+
description = "Attached blocks will be executed before each physics step"
10+
category = "Lifecycle"
11+
type = 1
12+
variant_type = 0
13+
display_template = "every physics step"
14+
code_template = "func _physics_process(delta):"
15+
defaults = {}
16+
signal_name = ""
17+
scope = ""
18+
is_advanced = true

0 commit comments

Comments
 (0)