I’m currently attempting to have an entity attach itself to a player.
It will attach to the player, however, the offset for the bone is off,.
Here is a screenshot of what is happening:
And here is the code I’m using in the entities Initialize function:
local ply = self.Parent; self:SetParent(ply); local b, a = ply:GetBonePosition(self.Bone); self:SetPos(b); self:SetAngles(a);
Any help on fixing this issue will be appreciated. Thanks.