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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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