Log inGet started
Package

CrashDummy.component

README.md

CrashDummy

Sits on a crash test dummy's root entity; Dummies.spawn adds it. Do not add it by hand.

  • Every peer: draws the belt webbing (thin straps from each anchor to the body, across the lap, across the chest, the buckle) as local entities that follow the drawn body poses every frame. On a peer that did not spawn the dummy, it rebuilds the strap plan from the synced fields and the entity names (head, chest, pelvis, ... under the root; belt_<seat>_* under the vehicle).
  • The peer that spawned the dummy: also runs the belts every physics step (Dummies._beltStep): one-sided webbing (no push), slack and spool-out, the pretensioner firing when the vehicle decelerates past 4 g, the load limiter paying out above its force.

Synced fields: kind, look, belt, seat, vehicle, childSeat, tone.