1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-28 14:15:18 +01:00

Correct info about ObjectRef:set_attach() bones "" default value

This commit is contained in:
corpserot
2025-10-26 17:28:30 +08:00
committed by GitHub
parent 377cdfb601
commit f1c0f292fa

View File

@@ -8525,7 +8525,7 @@ child will follow movement and rotation of that bone.
* Attaches object to `parent` * Attaches object to `parent`
* See 'Attachments' section for details * See 'Attachments' section for details
* `parent`: `ObjectRef` to attach to * `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}` * `position`: relative position, default `{x=0, y=0, z=0}`
* `rotation`: relative rotation in degrees, 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 * `forced_visible`: Boolean to control whether the attached entity