• ENT:BuildBonePositions() not being called
    6 replies, posted
Hi guys, Im trying to get ENT:BuildBonePositions() to get called on a dynamicly created entity, not the player - but it isnt. I've done as the wiki says and did self:BuildBonePositions = self:BuildBonePositions in the Initialize() function of the entity - but that doesnt seem to help. Any ideas?
it was removed
what can I replace it with? [editline]27th October 2012[/editline] Doing SetBoneMatrix in the draw or think function doesn't seem to work. Where/how can I adjust the scale of a bone now?
The only thing I've found so far is ManipulateBoneScale() which only seems to work on npc's or ragdolls. Well does anyone know of a way that one could make a part of a boned entity disapear? Like if I only wanted to have the head there? Normaly I would scale the bones to 0 - but it doesnt seem that that is possible anymore. I've tried viscliping, but that isnt very clean :/
[QUOTE=Tingle1989;38212829]what can I replace it with?[/QUOTE] There is no real alternative. Garry removed it because he wants to implement it in a different way some time in the future. Why he didn't remove it once the alternative is actually implemented is beyond me.
You can scale the bones with the code from the inflator but that's all. BuildBonePositions was removed without an alternative added [editline]Edited:[/editline] Ninjad
[url]http://facepunch.com/showthread.php?t=1221470[/url] I started a new thread in a better manner regarding this issue.
Sorry, you need to Log In to post a reply to this thread.