From f1c0f292fa63d7de645cabecf4ab3872a55cd499 Mon Sep 17 00:00:00 2001 From: corpserot <144787680+corpserot@users.noreply.github.com> Date: Sun, 26 Oct 2025 17:28:30 +0800 Subject: [PATCH] Correct info about ObjectRef:set_attach() bones `""` default value --- doc/lua_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lua_api.md b/doc/lua_api.md index 15653e167..db755f866 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -8525,7 +8525,7 @@ child will follow movement and rotation of that bone. * Attaches object to `parent` * See 'Attachments' section for details * `parent`: `ObjectRef` to attach to - * `bone`: Bone to attach to. Default is `""` (the root bone) + * `bone`: Bone to attach to. Default is `""` which attaches to the parent object's origin. * `position`: relative position, default `{x=0, y=0, z=0}` * `rotation`: relative rotation in degrees, default `{x=0, y=0, z=0}` * `forced_visible`: Boolean to control whether the attached entity