Log inGet started
Package

wl_character.module

Newest version

README.md

wl_character

The survival explorer's kit.

The rigged body the engine ships has no material of its own and no clothing, so this module gives it both: a skin material on the skinned mesh, and around twenty garment pieces seated on the skeleton with Humanoid:attach — jacket, collar, scarf, crossed straps, belt and pouches, backpack with straps and bedroll, sleeves, gloves, trousers, laced boots and hair.

Sleeves and trousers are measured, not guessed: each is built by taking the two bones at the ends of a limb and expressing the world direction between them in the first bone's own basis, so it lies along the real arm or leg whatever the rig's bone frames are.

CH.hold seats a tool in the right hand; CH.stow puts one on the pack.

Called by the scene entrypoint on localPlayerReady.