When I saw 'Added Entity:TranslateBoneToPhysBone( bone )' on the update list I didn't know exactly what it was, but if it's as self explanatory as it looks it's exactly what I need.
Can someone explain to me what exactly it does?
Just from the name of the function I think that it will give you the physics object that is tied to a certain bone, but the best way to find out is to go ingame and see for yourself.
For instance try typing this in the console in singleplayer :
[code]lua_run print(Entity(1):TranslateBoneToPhysBone(Entity(1):LookupBone("ValveBiped.Bip01_Head1")))[/code]
[QUOTE=Crazy Quebec;20111305]Just from the name of the function I think that it will give you the physics object that is tied to a certain bone, but the best way to find out is to go ingame and see for yourself.
For instance try typing this in the console in singleplayer :
[code]lua_run print(Entity(1):TranslateBoneToPhysBone(Entity(1):LookupBone("ValveBiped.Bip01_Head1")))[/code][/QUOTE]
That crashed Garry's Mod.
:v:
I was hoping it was something along the lines of individual bones being ragdolled.
[QUOTE=devcon;20111360]That crashed Garry's Mod.
:v:[/QUOTE]
:devil:
No seriously, that's bad.
And yeah I'm pretty sure it only gives you a reference to an object and doesn't affect the entity at all.
[QUOTE=Crazy Quebec;20111794]:devil:
No seriously, that's bad.
And yeah I'm pretty sure it only gives you a reference to an object and doesn't affect the entity at all.[/QUOTE]
Okay, my dreams are crushed.
Thanks for the help.
Sorry, you need to Log In to post a reply to this thread.