• Ragdoll Physics Model Problem
    1 replies, posted
I've been trying to port this model, it already has bones. When i compile the ragdoll, and spawn it in, its invisible and i see a part of it when i look up, but disapeers when i get near it. When i swap the phy file with another phy file from another ragdoll it works, but the model clips through things because it wasn't made for it. Im not too sure if the qc file is the problem or the physics model. Studiomdl.exe doesnt give any errors when compiling. Here are the files: QC:[URL="https://dl.dropboxusercontent.com/u/72958958/Combine_guard.qc"]https://dl.dropboxusercontent.com/u/72958958/Combine_guard.qc[/URL] Physics model:[URL="https://dl.dropboxusercontent.com/u/72958958/Guard_phys.smd"]https://dl.dropboxusercontent.com/u/72958958/Guard_phys.smd[/URL] Any help is appreciated. Thanks!
The physics model you posted is just a recycled reference model. A physics model is broken up in to parts. Each bone has its own hull and each hull can only be assigned to one bone. Ex: [t]http://i.imgur.com/1JRWY0l.png[/t] Try using a citizen as a reference. Import his reference model along with his physics model and see how it lines up with him. You can even take his physics model and line it up with your own model. Notes: - The smoothing groups are used in the generation / optimization of the final physics model during compile. Every hull should be assigned to a single smoothing group unless otherwise necessary (the reference image above was split to better show form). - Ragdolls are currently limited to 25 hulls. - Bones that are not assigned to a hull will not move with the ragdoll and instead will move as if merged with their parent bone. - Fingers and toes are generally bone given hulls, however if you build from the citizen physics model you may wish to add hulls to the clavicles and one or two to the spine (in your case with such a bulky model it may not be necessary).
Sorry, you need to Log In to post a reply to this thread.