Attaching accessories to NPC bones (backpack example)
🖼️ Rendering•Updated 2 days ago•0 views
Use the global localToWorld function with the bone's position/angle as origin: localToWorld(offsetVector, offsetAngle, npc:getBonePosition(npc:lookupBone("spine…
How to attach a hologram/prop to a specific bone of an NPC regardless of spawn angle
Use the global localToWorld function with the bone's position/angle as origin: localToWorld(offsetVector, offsetAngle, npc:getBonePosition(npc:lookupBone("spine_2")), boneAngles) gives the world pos/angle to spawn and parent the attachment at.