PlayerBody.component
README.md
PlayerBody (component)
Dresses every player in the forest showcase as a person from humanBodyKit, the package that also dresses the guards. Put it on the player prototype's body. Each machine builds the same body for each player (outfit and seed from the player's user id) as a local entity that follows the player's rig: it walks or runs while the player moves and idles when they stop. The engine humanoid underneath still moves, collides and carries the camera; only its mesh is hidden. The body carries a person's heat (Heat.give), so the player reads warm under thermal and apart from the guards under every sensor.
pbody.component.add("showcase.PlayerBody", { outfit = "porter" })
Known limits
- The body follows the rig's position and facing and picks walk, run or idle from its speed; it does not play jumps or falls.
- The stock mesh is hidden once a second while the rig spawns, so it can show for a moment on join.