• [HELP] Finding Bone Numbers of Ragdolls?
    4 replies, posted
Is there any easy way other than trial and error to find the bone number of rag-dolls? Also with rag-dolls there are multiple Physics Objects on some correct? <- if so, then how do you find the PhysicsObjectsNumber? ^ I know very little about rag-dolls and all above may be incorrect but I want to learn, so if I am wrong could someone please correct me! If someone has an answer to the above question it would be very greatly appreciated :) , Cole
All ragdolls have more than one physics object. Bone functions:[img]http://i.imgur.com/CyamiJJ.png[/img] [editline]27th December 2014[/editline] [url]http://wiki.garrysmod.com/page/Entity/GetPhysicsObjectCount[/url] [url]http://wiki.garrysmod.com/page/Entity/GetPhysicsObjectNum[/url]
[QUOTE=Robotboy655;46802978]All ragdolls have more than one physics object. Bone functions:[img]http://i.imgur.com/CyamiJJ.png[/img] [editline]27th December 2014[/editline] [url]http://wiki.garrysmod.com/page/Entity/GetPhysicsObjectCount[/url] [url]http://wiki.garrysmod.com/page/Entity/GetPhysicsObjectNum[/url][/QUOTE] Thank you, would there be a way to make some kind of gun that when you shoot it at a part of a ragdoll it will print out the Bone number? (same for Physics objects). (on a side note, You are lua god and I love you. <- only a little homo )
[QUOTE=ArousedKoala;46802997]Thank you, would there be a way to make some kind of gun that when you shoot it at a part of a ragdoll it will print out the Bone number? (same for Physics objects). [/QUOTE]Yes you could. Have a look at this function and more specifically the example on the page: [url]http://wiki.garrysmod.com/page/Entity/TranslatePhysBoneToBone[/url] I personally haven't tried using this function before but I'm pretty sure it would do what you want to do or at least something along the lines of it.
[QUOTE=ShadowRanger;46803044]Yes you could. Have a look at this function and more specifically the example on the page: [url]http://wiki.garrysmod.com/page/Entity/TranslatePhysBoneToBone[/url] I personally haven't tried using this function before but I'm pretty sure it would do what you want to do or at least something along the lines of it.[/QUOTE] PERFECT, You just made a lot of people happy :v: Keep doing gmod well, Cole (changing thread to solved)
Sorry, you need to Log In to post a reply to this thread.