From f8a88e0080d9b76c6a21ffe80ec5e5da9d61cc65 Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Wed, 5 Mar 2025 20:35:29 -0500 Subject: [PATCH] Minor update --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1743a1d..2a4614b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,10 @@ My code tends to diverge quite heavily at times as I worked out better methods o For instance, he went through a lot of work creating collision shapes for each block face and then using that to determine what face the player was looking at. However, I found the following basically removed any need for such complicated collision shapes and code: ``` -EntityManager.create_block.emit("001", collider.position + get_collision_normal()) +if Input.is_action_just_pressed("right_click_interact"): + EntityManager.create_block.emit("001", collider.position + get_collision_normal()) ``` 1 line of code replaced a very large amount of code and changes that were implemented in his `Create Blocks` video. + +I also moved some actions to signals as I prefer this method.