WeaponWorldModel record
public sealed record WeaponWorldModel The model everyone else sees in a weapon holder’s hand, and the holder sees in third person: a record’s worldmodel, either a model id or a table of model, bone, offset, angles, skin and body (In other people’s hands).
With no Bone, a model that shares any bone with the holder’s body by name, as Garry’s Mod’s w_ models share ValveBiped.Bip01_R_Hand, is merged onto those bones and sits as its game holds it. Any other model sits on a bone of the body, Hand unless set, placed by Offset and Angles. A body without that bone warns once and the model stays at its feet.
worldmodel = { model = "blaster:models/blaster", bone = "RightHand", offset = [0.02, 0.08, 0.03], angles = [0, 0, 90] }
- Assembly
- EvilEngine.Formats
- Commit
- 4ff877b1