Builtin Library
README.md
avatar
Make, change, check and wear avatars: a person's own character, and the body every player of a game joins with.
- Make one:
avatar.listshows the avatars to start from,avatar.createmakes a new one the world owns (a copy of a starting avatar, or wearing a rigged character bundle), andavatar.promotemakes one of an imported or generated character. - Change it:
avatar.attachseats parts on the body by name (ears, horns, an antenna, a tail),avatar.detachtakes one off,avatar.togglelets the person show and hide a part from their Expressions menu, andavatar.emotegives it a gesture or emote they play. - Wear and dress it:
avatar.wearputs it on (the player's body, or a stand in the scene in edit mode),avatar.colourrecolours it,avatar.shapesets its height and width,avatar.dressputs items on its slots,avatar.previewpictures the look, andavatar.savekeeps the look on the person's account so it follows them into every world. - Check and fix it:
avatar.validateholds it to the avatar standard and checks its expressions;avatar.inspectreads how its skeleton maps onto its avatar type (each role with its bone, detected or set by hand, and the confidence of its chain), andavatar.map/avatar.unmap/avatar.detectcorrect and compare that mapping when a character stands still or twists when it walks.
guides { path: "core/avatars" } walks through all of it.