That, or there is some weird ass problem with BuildBonePositions. Here is the code.
PModel = ClientsideModel(LocalPlayer():GetModel())
for i=0,NumBones-1 do
local m = LocalPlayer():GetBoneMatrix(i)
if m then
Could not be simpler, it’s a console command that creates a clientside model which mimics any movement the playermodel does. Body parts follow properly, but when it comes to the head, fingers and toes, it fucks up completely.
I applied the wireframe material to myself, so you can see the difference with the “simulated” model.
So either I’m retarded and did something completely wrong, the function itself is screwed up and I’ll have to ask Garry about that.
It’s driving me crazy, and I have absolutely no idea how to fix that.
Anyone has a clue?
Also, please don’t suggest alternative solutions that involve playing animations, I really need to use bone matrices because that’s the only solution.