Jump to content

Help with SMP Cloth collision


Recommended Posts

Trying to add SMP physics to one of my favorite old Skyrim armor mods.

I figured out how to add bone weights to a mesh from a similar shaped mesh using bodyslide, but i'm having problems getting collision to work properly.

Ground seems to collide ok, but can't get the legs to collide with the coat very well.

I've gone though the SMP tutorial on nexus.

I've tried adding a dedicated collision body, and messing with all the margin and penetration variables, but have yet to achieve the desired result.

I'm using a copy of the XML file used with the mesh i copied the bone wights from, just changed the shape names to match my nif files.

Any advice?

Thank you.

 

 

coat1.PNG.134a5fcd262a53d77f5d5a0a3e5ba615.PNGcoat2.PNG.cf77593b84a14bd5702930274a593c17.PNGcoat3.PNG.f18ff4a6404f2786014dffbc396475ec.PNGcoat4.PNG.d2244ee4d62622ad6d1752d20967f280.PNG

 

<?xml version="1.0" encoding="UTF-8"?>
<system xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="description.xsd">
    <!-- ground -->
    <per-triangle-shape name="VirtualGround">
        <margin>1</margin>
        <prenetration>4</prenetration>
        <shared>private</shared>
        <tag>HH20Mground</tag>
    </per-triangle-shape>
    
    <!-- body -->
    <bone-default>
        <margin-multiplier>0.9</margin-multiplier>
        <!-- <restitution>0.3</restitution> -->
    </bone-default>

    
    
    <!-- <bone name="NPC L Clavicle [LClv]"/> -->
    <!-- <bone name="NPC R Clavicle [RClv]"/> -->
    <!-- <bone name="NPC L Breast"/> -->
    <!-- <bone name="NPC R Breast"/> -->
    <!-- <bone name="NPC L Breast01"/> -->
    <!-- <bone name="NPC R Breast01"/> -->
    <!-- <bone name="NPC L Forearm [LLar]"/> -->
    <!-- <bone name="NPC R Forearm [RLar]"/> -->
    <!-- <bone name="NPC L ForearmTwist1 [LLt1]"/> -->
    <!-- <bone name="NPC R ForearmTwist1 [RLt1]"/> -->
    <!-- <bone name="NPC L ForearmTwist2 [LLt2]"/> -->
    <!-- <bone name="NPC R ForearmTwist2 [RLt2]"/> -->
    <!-- <bone name="NPC L UpperArm [LUar]"/> -->
    <!-- <bone name="NPC R UpperArm [RUar]"/> -->
    <!-- <bone name="NPC L UpperarmTwist1 [LUt1]"/> -->
    <!-- <bone name="NPC R UpperarmTwist1 [RUt1]"/> -->
    <!-- <bone name="NPC L UpperarmTwist2 [LUt2]"/> -->
    <!-- <bone name="NPC R UpperarmTwist2 [RUt2]"/> -->
    <!-- <bone name="NPC Spine [Spn0]"/> -->
    <!-- <bone name="NPC Spine2 [Spn2]"/> -->
    <!-- <bone name="NPC Spine1 [Spn1]"/> -->
    <!-- <bone name="NPC Pelvis [Pelv]"/> -->
    <!-- <bone name="NPC L Butt"/> -->
    <!-- <bone name="NPC R Butt"/> -->
    <bone name="NPC L Thigh [LThg]"/>
    <bone name="NPC R Thigh [RThg]"/>
    <bone name="NPC L Calf [LClf]"/>
    <bone name="NPC R Calf [RClf]"/>
    
    
    <bone-default>
        <margin-multiplier>0.6</margin-multiplier>
        <!-- <restitution>0.3</restitution> -->
    </bone-default>
    
    <bone name="NPC Head [Head]"/>
    <bone name="NPC L Clavicle [LClv]"/>
    <bone name="NPC R Clavicle [RClv]"/>
    <bone name="NPC L Forearm [LLar]"/>
    <bone name="NPC R Forearm [RLar]"/>
    <bone name="NPC L ForearmTwist1 [LLt1]"/>
    <bone name="NPC R ForearmTwist1 [RLt1]"/>
    <bone name="NPC L ForearmTwist2 [LLt2]"/>
    <bone name="NPC R ForearmTwist2 [RLt2]"/>
    <bone name="NPC L UpperArm [LUar]"/>
    <bone name="NPC R UpperArm [RUar]"/>
    <bone name="NPC L UpperarmTwist1 [LUt1]"/>
    <bone name="NPC R UpperarmTwist1 [RUt1]"/>
    <bone name="NPC L UpperarmTwist2 [LUt2]"/>
    <bone name="NPC R UpperarmTwist2 [RUt2]"/>
    <bone name="NPC Spine [Spn0]"/>
    <bone name="NPC Spine2 [Spn2]"/>
    <bone name="NPC Spine1 [Spn1]"/>
    <bone name="NPC Pelvis [Pelv]"/>
    <bone name="NPC Belly"/>
    <bone name="NPC L Hand [LHnd]"/>
    <bone name="NPC R Hand [RHnd]"/>
    
    <per-triangle-shape name="MaleBody">
        <margin>0.4</margin>
        <priority>0</priority>
        <prenetration>2</prenetration>
        <shared>private</shared>
        <tag>HH20Mbody</tag>
        <can-collide-with-tag>HH20Mskirt</can-collide-with-tag>
        <no-collide-with-tag>HH20Mpants</no-collide-with-tag>
        <no-collide-with-tag>HH20Mboots</no-collide-with-tag>
        <no-collide-with-tag>HH20Mground</no-collide-with-tag>
        <no-collide-with-tag>HH20Mbody</no-collide-with-tag>
        <no-collide-with-tag>ground</no-collide-with-tag>
        <no-collide-with-tag>body</no-collide-with-tag>    
        <no-collide-with-tag>hands</no-collide-with-tag>
        <no-collide-with-tag>Lbreast</no-collide-with-tag>
        <no-collide-with-tag>Rbreast</no-collide-with-tag>    
        <no-collide-with-tag>Head</no-collide-with-tag>    
        <no-collide-with-tag>Belly</no-collide-with-tag>
        <no-collide-with-tag>Genitals</no-collide-with-tag>
        <no-collide-with-tag>armscoll</no-collide-with-tag>            
        <no-collide-with-tag>MaleHead</no-collide-with-tag>            
        <no-collide-with-tag>MaleBody</no-collide-with-tag>            
        <no-collide-with-tag>penis</no-collide-with-tag>    
        <no-collide-with-tag>Malehands</no-collide-with-tag>
        <no-collide-with-tag>armscollisionM</no-collide-with-tag>
        <no-collide-with-tag>collisionThigh</no-collide-with-tag>    
        <weight-threshold bone="NPC L Clavicle [LClv]">0.2</weight-threshold>
        <weight-threshold bone="NPC R Clavicle [RClv]">0.2</weight-threshold>
        <weight-threshold bone="NPC L Forearm [LLar]">1</weight-threshold>
        <weight-threshold bone="NPC R Forearm [RLar]">1</weight-threshold>
        <weight-threshold bone="NPC L ForearmTwist1 [LLt1]">1</weight-threshold>
        <weight-threshold bone="NPC R ForearmTwist1 [RLt1]">1</weight-threshold>
        <weight-threshold bone="NPC L ForearmTwist2 [LLt2]">1</weight-threshold>
        <weight-threshold bone="NPC R ForearmTwist2 [RLt2]">1</weight-threshold>
        <weight-threshold bone="NPC L Hand [LHnd]">1</weight-threshold>
        <weight-threshold bone="NPC R Hand [RHnd]">1</weight-threshold>
        <weight-threshold bone="NPC L Foot [Lft ]">1</weight-threshold>
        <weight-threshold bone="NPC R Foot [Rft ]">1</weight-threshold>
        <weight-threshold bone="NPC L UpperArm [LUar]">0.2</weight-threshold>
        <weight-threshold bone="NPC R UpperArm [RUar]">0.2</weight-threshold>
        <weight-threshold bone="NPC L UpperarmTwist1 [LUt1]">1</weight-threshold>
        <weight-threshold bone="NPC R UpperarmTwist1 [RUt1]">1</weight-threshold>
        <weight-threshold bone="NPC L UpperarmTwist2 [LUt2]">1</weight-threshold>
        <weight-threshold bone="NPC R UpperarmTwist2 [RUt2]">1</weight-threshold>
        <weight-threshold bone="NPC Spine [Spn0]">0.2</weight-threshold>
        <weight-threshold bone="NPC Spine2 [Spn2]">0.2</weight-threshold>
        <weight-threshold bone="NPC Spine1 [Spn1]">0.2</weight-threshold>
        <weight-threshold bone="NPC Pelvis [Pelv]">0.2</weight-threshold>
        <weight-threshold bone="NPC L Thigh [LThg]">0.2</weight-threshold>
        <weight-threshold bone="NPC R Thigh [RThg]">0.2</weight-threshold>
        <weight-threshold bone="NPC L Calf [LClf]">0.2</weight-threshold>
        <weight-threshold bone="NPC R Calf [RClf]">0.2</weight-threshold>
        <!-- <weight-threshold bone="NPC L FrontThigh">1</weight-threshold> -->
        <!-- <weight-threshold bone="NPC R FrontThigh">1</weight-threshold> -->
        <!-- <weight-threshold bone="NPC L RearCalf [LrClf]">1</weight-threshold> -->
        <!-- <weight-threshold bone="NPC R RearCalf [RrClf]">1</weight-threshold> -->
        <!-- <weight-threshold bone="NPC L RearThigh">1</weight-threshold> -->
        <!-- <weight-threshold bone="NPC R RearThigh">1</weight-threshold> -->
    </per-triangle-shape>
    


    <per-triangle-shape name="BootscollisionM">
        <margin>0.5</margin>
        <priority>0</priority>
        <prenetration>1</prenetration>
        <shared>private</shared>
        <tag>HH20Mboots</tag>
        <can-collide-with-tag>HH20Mskirt</can-collide-with-tag>
        <no-collide-with-tag>HH20Mpants</no-collide-with-tag>
        <no-collide-with-tag>HH20Mboots</no-collide-with-tag>
        <no-collide-with-tag>HH20Mground</no-collide-with-tag>
        <no-collide-with-tag>HH20Mbody</no-collide-with-tag>
        <no-collide-with-tag>ground</no-collide-with-tag>
        <no-collide-with-tag>body</no-collide-with-tag>    
        <no-collide-with-tag>hands</no-collide-with-tag>
        <no-collide-with-tag>Lbreast</no-collide-with-tag>
        <no-collide-with-tag>Rbreast</no-collide-with-tag>    
        <no-collide-with-tag>Head</no-collide-with-tag>    
        <no-collide-with-tag>Belly</no-collide-with-tag>
        <no-collide-with-tag>Genitals</no-collide-with-tag>
        <no-collide-with-tag>armscoll</no-collide-with-tag>            
        <no-collide-with-tag>MaleHead</no-collide-with-tag>            
        <no-collide-with-tag>MaleBody</no-collide-with-tag>            
        <no-collide-with-tag>penis</no-collide-with-tag>    
        <no-collide-with-tag>Malehands</no-collide-with-tag>
        <no-collide-with-tag>armscollisionM</no-collide-with-tag>
        <no-collide-with-tag>collisionThigh</no-collide-with-tag>    
    </per-triangle-shape>

    <per-triangle-shape name="pants">
        <margin>0.4</margin>
        <priority>0</priority>
        <prenetration>1</prenetration>
        <shared>private</shared>
        <tag>HH20Mpants</tag>
        <can-collide-with-tag>HH20Mskirt</can-collide-with-tag>
        <no-collide-with-tag>HH20Mpants</no-collide-with-tag>
        <no-collide-with-tag>HH20Mboots</no-collide-with-tag>
        <no-collide-with-tag>HH20Mground</no-collide-with-tag>
        <no-collide-with-tag>HH20Mbody</no-collide-with-tag>
        <no-collide-with-tag>ground</no-collide-with-tag>
        <no-collide-with-tag>body</no-collide-with-tag>    
        <no-collide-with-tag>hands</no-collide-with-tag>
        <no-collide-with-tag>Lbreast</no-collide-with-tag>
        <no-collide-with-tag>Rbreast</no-collide-with-tag>    
        <no-collide-with-tag>Head</no-collide-with-tag>    
        <no-collide-with-tag>Belly</no-collide-with-tag>
        <no-collide-with-tag>Genitals</no-collide-with-tag>
        <no-collide-with-tag>armscoll</no-collide-with-tag>            
        <no-collide-with-tag>MaleHead</no-collide-with-tag>            
        <no-collide-with-tag>MaleBody</no-collide-with-tag>            
        <no-collide-with-tag>penis</no-collide-with-tag>    
        <no-collide-with-tag>Malehands</no-collide-with-tag>
        <no-collide-with-tag>armscollisionM</no-collide-with-tag>
        <no-collide-with-tag>collisionThigh</no-collide-with-tag>    
    </per-triangle-shape>    
    

    <!-- cloth -->
    
    <bone-default>
        <margin-multiplier>0.01</margin-multiplier>
    </bone-default>
    
    <bone name="H20MFrontL 1"/>
    <bone name="H20MSideL 1"/>
    <bone name="H20MBack 1"/>
    <bone name="H20MSideR 1"/>
    <bone name="H20MFrontR 1"/>


  
  
    <bone-default>
        <mass>0.1</mass>
        <inertia x="5" y="5" z="5" />
        <centerOfMassTransform>
            <basis x="0" y="0" z="0" w="1" />
            <origin x="0" y="0" z="0" />
        </centerOfMassTransform>
        <linearDamping>0.97</linearDamping>
        <angularDamping>0.01</angularDamping>
        <friction>0.25</friction>
        <restitution>1</restitution>
    </bone-default>
    
    <bone-default>
        <margin-multiplier>0.2</margin-multiplier>
    </bone-default>
    
    <bone name="H20MFrontL 2"/>
    <bone name="H20MSideL 2"/>
    <bone name="H20MBack 2"/>
    <bone name="H20MSideR 2"/>
    <bone name="H20MFrontR 2"/>
    
    
    <bone-default>
        <margin-multiplier>0.3</margin-multiplier>
    </bone-default>
    
    <bone name="H20MFrontL 3"/>
    <bone name="H20MSideL 3"/>
    <bone name="H20MBack 3"/>
    <bone name="H20MSideR 3"/>
    <bone name="H20MFrontR 3"/>
    
    
    <bone-default>
        <margin-multiplier>0.35</margin-multiplier>
    </bone-default>
    
    <bone name="H20MFrontL 4"/>
    <bone name="H20MSideL 4"/>
    <bone name="H20MBack 4"/>
    <bone name="H20MSideR 4"/>
    <bone name="H20MFrontR 4"/>
    
    

    
    

    
    
    
  <generic-constraint-default>              
    <frameInB>  
      <basis x="0" y="0" z="0" w="1"/>
      <origin x="0" y="0" z="0"/>
    </frameInB>
    <useLinearReferenceFrameA>false</useLinearReferenceFrameA>
    <linearLowerLimit x="0" y="0" z="0"/>
    <linearUpperLimit x="0" y="0" z="0"/>
    <angularLowerLimit x="-0.15" y="-0.3" z="-0.3" />
    <angularUpperLimit x="0.15" y="0.6" z="0.3" />
    <linearStiffness x="0" y="0" z="0"/>
    <angularStiffness x="0" y="0" z="0"/>
    <linearDamping x="0" y="0" z="0"/>
    <angularDamping x="0" y="0" z="0"/>
    <linearEquilibrium x="0" y="0" z="0"/>
    <angularEquilibrium x="0" y="0" z="0"/>
  </generic-constraint-default>
  
     <constraint-group>
        <generic-constraint bodyA="H20MFrontL 2" bodyB="H20MFrontL 1"/>
        <generic-constraint bodyA="H20MFrontL 3" bodyB="H20MFrontL 2"/>
        <generic-constraint bodyA="H20MFrontL 4" bodyB="H20MFrontL 3"/>
    </constraint-group>
    
     <constraint-group>
        <generic-constraint bodyA="H20MSideL 2" bodyB="H20MSideL 1"/>
        <generic-constraint bodyA="H20MSideL 3" bodyB="H20MSideL 2"/>
        <generic-constraint bodyA="H20MSideL 4" bodyB="H20MSideL 3"/>
    </constraint-group>
    
     <constraint-group>
        <generic-constraint bodyA="H20MBack 2" bodyB="H20MBack 1"/>
        <generic-constraint bodyA="H20MBack 3" bodyB="H20MBack 2"/>
        <generic-constraint bodyA="H20MBack 4" bodyB="H20MBack 3"/>
    </constraint-group>

     <constraint-group>
        <generic-constraint bodyA="H20MSideR 2" bodyB="H20MSideR 1"/>
        <generic-constraint bodyA="H20MSideR 3" bodyB="H20MSideR 2"/>
        <generic-constraint bodyA="H20MSideR 4" bodyB="H20MSideR 3"/>
    </constraint-group>

     <constraint-group>
        <generic-constraint bodyA="H20MFrontR 2" bodyB="H20MFrontR 1"/>
        <generic-constraint bodyA="H20MFrontR 3" bodyB="H20MFrontR 2"/>
        <generic-constraint bodyA="H20MFrontR 4" bodyB="H20MFrontR 3"/>
    </constraint-group>    
    
    
    
  <generic-constraint-default>
    <frameInLerp>
            <translationLerp>0</translationLerp>
            <rotationLerp>0</rotationLerp>
    </frameInLerp>
    <linearLowerLimit x="-1" y="-1" z="-1"/>
    <linearUpperLimit x="1" y="1" z="1"/>
    <angularLowerLimit x="-5" y="-5" z="-5"/>
    <angularUpperLimit x="5" y="5" z="5"/>
    <linearStiffness x="0" y="0" z="0"/>
    <angularStiffness x="0" y="0" z="0"/>
  </generic-constraint-default>
  
  <generic-constraint bodyA="H20MSideL 2" bodyB="H20MFrontL 2"/>
  
  <generic-constraint bodyA="H20MBack 2" bodyB="H20MSideL 2"/>
    
  <generic-constraint bodyA="H20MSideR 2" bodyB="H20MBack 2"/>
    
  <generic-constraint bodyA="H20MFrontR 2" bodyB="H20MSideR 2"/>
    
    
  <generic-constraint-default>
    <frameInLerp>
            <translationLerp>0</translationLerp>
            <rotationLerp>0</rotationLerp>
    </frameInLerp>
    <linearLowerLimit x="-10" y="-10" z="-1"/>
    <linearUpperLimit x="10" y="10" z="1"/>
    <angularLowerLimit x="-20" y="-20" z="-20"/>
    <angularUpperLimit x="20" y="20" z="20"/>
    <linearStiffness x="0" y="0" z="0"/>
    <angularStiffness x="0" y="0" z="0"/>
  </generic-constraint-default>
  
  <generic-constraint bodyA="H20MSideL 3" bodyB="H20MFrontL 3"/>
  <generic-constraint bodyA="H20MSideL 4" bodyB="H20MFrontL 4"/>

  <generic-constraint bodyA="H20MBack 3" bodyB="H20MSideL 3"/>
  <generic-constraint bodyA="H20MBack 4" bodyB="H20MSideL 4"/>
  
  <generic-constraint bodyA="H20MSideR 3" bodyB="H20MBack 3"/>
  <generic-constraint bodyA="H20MSideR 4" bodyB="H20MBack 4"/>

  <generic-constraint bodyA="H20MFrontR 3" bodyB="H20MSideR 3"/>
  <generic-constraint bodyA="H20MFrontR 4" bodyB="H20MSideR 4"/>
    
    <per-vertex-shape name="coat">
        <margin>0.4</margin>
        <priority>1</priority>
        <prenetration>-0.4</prenetration>
        <shared>private</shared>
        <tag>HH20Mskirt</tag>
        <no-collide-with-tag>HH20Mskirt</no-collide-with-tag>
        <can-collide-with-tag>HH20Mpants</can-collide-with-tag>
        <can-collide-with-tag>HH20Mboots</can-collide-with-tag>
        <can-collide-with-tag>HH20Mbody</can-collide-with-tag>
        <can-collide-with-tag>HH20Mground</can-collide-with-tag>    
        <no-collide-with-tag>ground</no-collide-with-tag>
        <no-collide-with-tag>body</no-collide-with-tag>
        <no-collide-with-tag>hands</no-collide-with-tag>
        <no-collide-with-tag>Lbreast</no-collide-with-tag>
        <no-collide-with-tag>Rbreast</no-collide-with-tag>    
        <no-collide-with-tag>Head</no-collide-with-tag>    
        <no-collide-with-tag>Belly</no-collide-with-tag>
        <no-collide-with-tag>Genitals</no-collide-with-tag>
        <no-collide-with-tag>armscoll</no-collide-with-tag>            
        <no-collide-with-tag>MaleHead</no-collide-with-tag>            
        <no-collide-with-tag>MaleBody</no-collide-with-tag>            
        <no-collide-with-tag>penis</no-collide-with-tag>    
        <no-collide-with-tag>Malehands</no-collide-with-tag>
        <no-collide-with-tag>armscollisionM</no-collide-with-tag>
        <no-collide-with-tag>collisionThigh</no-collide-with-tag>    
        <no-collide-with-bone>NPC L Forearm [LLar]</no-collide-with-bone>
        <no-collide-with-bone>NPC R Forearm [RLar]</no-collide-with-bone>
        <no-collide-with-bone>NPC L ForearmTwist1 [LLt1]</no-collide-with-bone>
        <no-collide-with-bone>NPC R ForearmTwist1 [RLt1]</no-collide-with-bone>
        <no-collide-with-bone>NPC L ForearmTwist2 [LLt2]</no-collide-with-bone>
        <no-collide-with-bone>NPC R ForearmTwist2 [RLt2]</no-collide-with-bone>
        <no-collide-with-bone>NPC L Hand [LHnd]</no-collide-with-bone>
        <no-collide-with-bone>NPC R Hand [RHnd]</no-collide-with-bone>
        <no-collide-with-bone>NPC L Breast</no-collide-with-bone>
        <no-collide-with-bone>NPC R Breast</no-collide-with-bone>
        <no-collide-with-bone>NPC L Breast01</no-collide-with-bone>
        <no-collide-with-bone>NPC R Breast01</no-collide-with-bone>
        
        <weight-threshold bone="NPC L Clavicle [LClv]">1</weight-threshold>
        <weight-threshold bone="NPC R Clavicle [RClv]">1</weight-threshold>
        <weight-threshold bone="NPC L UpperArm [LUar]">1</weight-threshold>
        <weight-threshold bone="NPC R UpperArm [RUar]">1</weight-threshold>
        <weight-threshold bone="NPC L UpperarmTwist1 [LUt1]">1</weight-threshold>
        <weight-threshold bone="NPC R UpperarmTwist1 [RUt1]">1</weight-threshold>
        <weight-threshold bone="NPC L UpperarmTwist2 [LUt2]">1</weight-threshold>
        <weight-threshold bone="NPC R UpperarmTwist2 [RUt2]">1</weight-threshold>
        <weight-threshold bone="NPC Spine [Spn0]">0.1</weight-threshold>
        <weight-threshold bone="NPC Spine1 [Spn1]">1</weight-threshold>
        <weight-threshold bone="NPC Spine2 [Spn2]">1</weight-threshold>
        <weight-threshold bone="NPC Belly">1</weight-threshold>
        <weight-threshold bone="NPC Pelvis [Pelv]">0.1</weight-threshold>
        <weight-threshold bone="NPC L Butt">1</weight-threshold>
        <weight-threshold bone="NPC R Butt">1</weight-threshold>
        <weight-threshold bone="NPC L Thigh [LThg]">0.1</weight-threshold>
        <weight-threshold bone="NPC R Thigh [RThg]">0.1</weight-threshold>
        <weight-threshold bone="NPC R Calf [RClf]">1</weight-threshold>
        <weight-threshold bone="NPC L Calf [LClf]">1</weight-threshold>
        <weight-threshold bone="H20MSideL 1">0.2</weight-threshold>
        <weight-threshold bone="H20MSideL 2">0.2</weight-threshold>
        <weight-threshold bone="H20MSideL 3">0.2</weight-threshold>
        <weight-threshold bone="H20MSideL 4">0.2</weight-threshold>
        <weight-threshold bone="H20MBack 1">0.2</weight-threshold>
        <weight-threshold bone="H20MBack 2">0.2</weight-threshold>
        <weight-threshold bone="H20MBack 3">0.2</weight-threshold>
        <weight-threshold bone="H20MBack 4">0.2</weight-threshold>
        <weight-threshold bone="H20MSideR 1">0.2</weight-threshold>
        <weight-threshold bone="H20MSideR 2">0.2</weight-threshold>
        <weight-threshold bone="H20MSideR 3">0.2</weight-threshold>
        <weight-threshold bone="H20MSideR 4">0.2</weight-threshold>
        <weight-threshold bone="H20MFrontL 1">0.2</weight-threshold>
        <weight-threshold bone="H20MFrontL 2">0.2</weight-threshold>
        <weight-threshold bone="H20MFrontL 3">0.2</weight-threshold>
        <weight-threshold bone="H20MFrontL 4">0.2</weight-threshold>
        <weight-threshold bone="H20MFrontR 1">0.2</weight-threshold>
        <weight-threshold bone="H20MFrontR 2">0.2</weight-threshold>
        <weight-threshold bone="H20MFrontR 3">0.2</weight-threshold>
        <weight-threshold bone="H20MFrontR 4">0.2</weight-threshold>
  
        </per-vertex-shape>

        
        
    
</system>

 

 

Link to comment

I messed around with the bone weights on the mesh and the weight threshold variables on the XML file.

collision is working much better now when walking, and sneaking can most of the time collide with right leg, but still having trouble with left leg.

 

coat5.PNG.063d15334adc0c67d61e57dea2201c63.PNG

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use