<?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>
		<tag>ground</tag>
	</per-triangle-shape>
	
	<!-- body -->
	<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 name="NPC L Foot [Lft ]"/>
	<bone name="NPC R Foot [Rft ]"/>
	<bone name="NPC Spine [Spn0]"/>
	<bone name="NPC Spine2 [Spn2]"/>
	<bone name="NPC Spine1 [Spn1]"/>
	<bone name="NPC Pelvis [Pelv]"/>
	<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 L Hand [LHnd]"/>
	<bone name="NPC R Hand [RHnd]"/>

	<bone name="C00"/>

	
	
	<bone-default>
		<mass>1.0</mass>
		<inertia x="15" y="15" z="15" />
		<centerOfMassTransform>
			<basis x="0" y="0" z="0" w="1" />
			<origin x="0" y="0" z="0" />
		</centerOfMassTransform>
		<linearDamping>0.88</linearDamping>
		<angularDamping>0.45</angularDamping>
		<friction>0.1</friction>
		<rollingFriction>0.1</rollingFriction>
		<gravity-factor>1.8</gravity-factor>
		<restitution>0</restitution>
	</bone-default>

	<bone-default>
		<margin-multiplier>0.5</margin-multiplier>
	</bone-default>
	
	<bone name="C10"/>
	<bone name="C20"/>
	<bone name="C30"/>
	<bone name="C40"/>
	<bone name="C50"/>

	<bone-default>
		<mass>1.0</mass>
		<inertia x="15" y="15" z="15" />
		<centerOfMassTransform>
			<basis x="0" y="0" z="0" w="1" />
			<origin x="0" y="0" z="0" />
		</centerOfMassTransform>
		<linearDamping>0.88</linearDamping>
		<angularDamping>0.45</angularDamping>
		<friction>0.1</friction>
		<rollingFriction>0.1</rollingFriction>
		<gravity-factor>1.8</gravity-factor>
		<restitution>0</restitution>
	</bone-default>

	<bone-default>
		<margin-multiplier>0.5</margin-multiplier>
	</bone-default>
	
	<bone name="C11"/>
	<bone name="C21"/>
	<bone name="C31"/>
	<bone name="C41"/>
	<bone name="C51"/>

	<bone-default>
		<mass>1.0</mass>
		<inertia x="15" y="15" z="15" />
		<centerOfMassTransform>
			<basis x="0" y="0" z="0" w="1" />
			<origin x="0" y="0" z="0" />
		</centerOfMassTransform>
		<linearDamping>0.88</linearDamping>
		<angularDamping>0.45</angularDamping>
		<friction>0.1</friction>
		<rollingFriction>0.1</rollingFriction>
		<gravity-factor>1.8</gravity-factor>
		<restitution>0</restitution>
	</bone-default>

	<bone-default>
		<margin-multiplier>0.5</margin-multiplier>
	</bone-default>
	
	<bone name="C12"/>
	<bone name="C22"/>
	<bone name="C32"/>
	<bone name="C42"/>
	<bone name="C52"/>

	<bone-default>
		<mass>1.0</mass>
		<inertia x="15" y="15" z="15" />
		<centerOfMassTransform>
			<basis x="0" y="0" z="0" w="1" />
			<origin x="0" y="0" z="0" />
		</centerOfMassTransform>
		<linearDamping>0.88</linearDamping>
		<angularDamping>0.45</angularDamping>
		<friction>0.1</friction>
		<rollingFriction>0.1</rollingFriction>
		<gravity-factor>1.8</gravity-factor>
		<restitution>0</restitution>
	</bone-default>

	<bone-default>
		<margin-multiplier>0.5</margin-multiplier>
	</bone-default>
	
	<bone name="C13"/>
	<bone name="C23"/>
	<bone name="C33"/>
	<bone name="C43"/>
	<bone name="C53"/>

	<bone-default>
		<mass>1.0</mass>
		<inertia x="15" y="15" z="15" />
		<centerOfMassTransform>
			<basis x="0" y="0" z="0" w="1" />
			<origin x="0" y="0" z="0" />
		</centerOfMassTransform>
		<linearDamping>0.88</linearDamping>
		<angularDamping>0.45</angularDamping>
		<friction>0.1</friction>
		<rollingFriction>0.1</rollingFriction>
		<gravity-factor>1.8</gravity-factor>
		<restitution>0</restitution>
	</bone-default>

	<bone-default>
		<margin-multiplier>0.5</margin-multiplier>
	</bone-default>
	
	<bone name="C14"/>
	<bone name="C24"/>
	<bone name="C34"/>
	<bone name="C44"/>
	<bone name="C54"/>

	<bone-default>
		<mass>1.0</mass>
		<inertia x="15" y="15" z="15" />
		<centerOfMassTransform>
			<basis x="0" y="0" z="0" w="1" />
			<origin x="0" y="0" z="0" />
		</centerOfMassTransform>
		<linearDamping>0.88</linearDamping>
		<angularDamping>0.45</angularDamping>
		<friction>0.1</friction>
		<rollingFriction>0.1</rollingFriction>
		<gravity-factor>1.8</gravity-factor>
		<restitution>0</restitution>
	</bone-default>

	<bone-default>
		<margin-multiplier>0.5</margin-multiplier>
	</bone-default>
	
	<bone name="C15"/>
	<bone name="C25"/>
	<bone name="C35"/>
	<bone name="C45"/>
	<bone name="C55"/>

	<bone-default>
		<mass>1.0</mass>
		<inertia x="15" y="15" z="15" />
		<centerOfMassTransform>
			<basis x="0" y="0" z="0" w="1" />
			<origin x="0" y="0" z="0" />
		</centerOfMassTransform>
		<linearDamping>0.88</linearDamping>
		<angularDamping>0.45</angularDamping>
		<friction>0.1</friction>
		<rollingFriction>0.1</rollingFriction>
		<gravity-factor>1.8</gravity-factor>
		<restitution>0</restitution>
	</bone-default>

	<bone-default>
		<margin-multiplier>0.5</margin-multiplier>
	</bone-default>
	
	<bone name="C16"/>
	<bone name="C26"/>
	<bone name="C36"/>
	<bone name="C46"/>
	<bone name="C56"/>

	<bone-default>
		<mass>1.0</mass>
		<inertia x="15" y="15" z="15" />
		<centerOfMassTransform>
			<basis x="0" y="0" z="0" w="1" />
			<origin x="0" y="0" z="0" />
		</centerOfMassTransform>
		<linearDamping>0.88</linearDamping>
		<angularDamping>0.45</angularDamping>
		<friction>0.1</friction>
		<rollingFriction>0.1</rollingFriction>
		<gravity-factor>1.8</gravity-factor>
		<restitution>0</restitution>
	</bone-default>

	<bone-default>
		<margin-multiplier>0.5</margin-multiplier>
	</bone-default>
	
	<bone name="C17"/>
	<bone name="C27"/>
	<bone name="C37"/>
	<bone name="C47"/>
	<bone name="C57"/>



	<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.08" y="-0.20" z="-0.04"/>
		<angularUpperLimit x="0.08" y="0.20" z="0.60"/>
		<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>
	
	    <generic-constraint bodyA="C10" bodyB="C00"/>
		<generic-constraint bodyA="C11" bodyB="C10"/>
		<generic-constraint bodyA="C12" bodyB="C11"/>
		<generic-constraint bodyA="C13" bodyB="C12"/>
		<generic-constraint bodyA="C14" bodyB="C13"/>
		<generic-constraint bodyA="C15" bodyB="C14"/>
		<generic-constraint bodyA="C16" bodyB="C15"/>
		<generic-constraint bodyA="C17" bodyB="C16"/>

		<generic-constraint bodyA="C20" bodyB="C00"/>
		<generic-constraint bodyA="C21" bodyB="C20"/>
		<generic-constraint bodyA="C22" bodyB="C21"/>
		<generic-constraint bodyA="C23" bodyB="C22"/>
		<generic-constraint bodyA="C24" bodyB="C23"/>
		<generic-constraint bodyA="C25" bodyB="C24"/>
		<generic-constraint bodyA="C26" bodyB="C25"/>
		<generic-constraint bodyA="C27" bodyB="C26"/>

        <generic-constraint bodyA="C30" bodyB="C00"/>
		<generic-constraint bodyA="C31" bodyB="C30"/>
		<generic-constraint bodyA="C32" bodyB="C31"/>
		<generic-constraint bodyA="C33" bodyB="C32"/>
		<generic-constraint bodyA="C34" bodyB="C33"/>
		<generic-constraint bodyA="C35" bodyB="C34"/>
		<generic-constraint bodyA="C36" bodyB="C35"/>
		<generic-constraint bodyA="C37" bodyB="C36"/>

        <generic-constraint bodyA="C40" bodyB="C00"/>
		<generic-constraint bodyA="C41" bodyB="C40"/>
		<generic-constraint bodyA="C42" bodyB="C41"/>
		<generic-constraint bodyA="C43" bodyB="C42"/>
		<generic-constraint bodyA="C44" bodyB="C43"/>
		<generic-constraint bodyA="C45" bodyB="C44"/>
		<generic-constraint bodyA="C46" bodyB="C45"/>
		<generic-constraint bodyA="C47" bodyB="C46"/>

        <generic-constraint bodyA="C50" bodyB="C00"/>
		<generic-constraint bodyA="C51" bodyB="C50"/>
		<generic-constraint bodyA="C52" bodyB="C51"/>
		<generic-constraint bodyA="C53" bodyB="C52"/>
		<generic-constraint bodyA="C54" bodyB="C53"/>
		<generic-constraint bodyA="C55" bodyB="C54"/>
		<generic-constraint bodyA="C56" bodyB="C55"/>
		<generic-constraint bodyA="C57" bodyB="C56"/>

		<generic-constraint bodyA="C20" bodyB="C10"/>
		<generic-constraint bodyA="C21" bodyB="C11"/>
		<generic-constraint bodyA="C22" bodyB="C12"/>
		<generic-constraint bodyA="C23" bodyB="C13"/>
		<generic-constraint bodyA="C24" bodyB="C14"/>
		<generic-constraint bodyA="C25" bodyB="C15"/>
		<generic-constraint bodyA="C26" bodyB="C16"/>
		<generic-constraint bodyA="C27" bodyB="C17"/>

		<generic-constraint bodyA="C30" bodyB="C20"/>
		<generic-constraint bodyA="C31" bodyB="C21"/>
		<generic-constraint bodyA="C32" bodyB="C22"/>
		<generic-constraint bodyA="C33" bodyB="C23"/>
		<generic-constraint bodyA="C34" bodyB="C24"/>
		<generic-constraint bodyA="C35" bodyB="C25"/>
		<generic-constraint bodyA="C36" bodyB="C26"/>
		<generic-constraint bodyA="C37" bodyB="C27"/>

		<generic-constraint bodyA="C40" bodyB="C30"/>
		<generic-constraint bodyA="C41" bodyB="C31"/>
		<generic-constraint bodyA="C42" bodyB="C32"/>
		<generic-constraint bodyA="C43" bodyB="C33"/>
		<generic-constraint bodyA="C44" bodyB="C34"/>
		<generic-constraint bodyA="C45" bodyB="C35"/>
		<generic-constraint bodyA="C46" bodyB="C36"/>
		<generic-constraint bodyA="C47" bodyB="C37"/>

		<generic-constraint bodyA="C50" bodyB="C40"/>
		<generic-constraint bodyA="C51" bodyB="C41"/>
		<generic-constraint bodyA="C52" bodyB="C42"/>
		<generic-constraint bodyA="C53" bodyB="C43"/>
		<generic-constraint bodyA="C54" bodyB="C44"/>
		<generic-constraint bodyA="C55" bodyB="C45"/>
		<generic-constraint bodyA="C56" bodyB="C46"/>
		<generic-constraint bodyA="C57" bodyB="C47"/>

		
	<per-triangle-shape name="Virtual Cloak">                                                                                                                                                        
		<margin>0.1</margin>
		<priority>100</priority>
		<prenetration>1</prenetration>
		<shared>private</shared>
		<tag>body</tag>
		<can-collide-with-tag>cloak</can-collide-with-tag>
		<no-collide-with-tag>body</no-collide-with-tag>
		<no-collide-with-tag>ground</no-collide-with-tag>
		<weight-threshold bone="NPC L Clavicle [LClv]">0.3</weight-threshold>
		<weight-threshold bone="NPC R Clavicle [RClv]">0.3</weight-threshold>
		<weight-threshold bone="NPC L Forearm [LLar]">0.3</weight-threshold>
		<weight-threshold bone="NPC R Forearm [RLar]">0.3</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 ]">0.3</weight-threshold>
		<weight-threshold bone="NPC R Foot [Rft ]">0.3</weight-threshold>
		<weight-threshold bone="NPC L UpperArm [LUar]">0.3</weight-threshold>
		<weight-threshold bone="NPC R UpperArm [RUar]">0.3</weight-threshold>
		<weight-threshold bone="NPC L UpperarmTwist1 [LUt1]">0.3</weight-threshold>
		<weight-threshold bone="NPC R UpperarmTwist1 [RUt1]">0.3</weight-threshold>
		<weight-threshold bone="NPC L UpperarmTwist2 [LUt2]">0.3</weight-threshold>
		<weight-threshold bone="NPC R UpperarmTwist2 [RUt2]">0.3</weight-threshold>
		<weight-threshold bone="NPC Spine [Spn0]">0.3</weight-threshold>
		<weight-threshold bone="NPC Spine2 [Spn2]">0.3</weight-threshold>
		<weight-threshold bone="NPC Spine1 [Spn1]">0.3</weight-threshold>
		<weight-threshold bone="NPC Pelvis [Pelv]">0.3</weight-threshold>
		<weight-threshold bone="NPC L Thigh [LThg]">0.3</weight-threshold>
		<weight-threshold bone="NPC R Thigh [RThg]">0.3</weight-threshold>
		<weight-threshold bone="NPC L Calf [LClf]">0.3</weight-threshold>
		<weight-threshold bone="NPC R Calf [RClf]">0.3</weight-threshold>
	</per-triangle-shape>
	
	<per-vertex-shape name="Cloak_010_L">		
		<margin>1.2</margin>
		<priority>1</priority>		
		<shared>private</shared>
		<tag>cloak</tag>
		<can-collide-with-tag>body</can-collide-with-tag>
		<can-collide-with-tag>ground</can-collide-with-tag>
		<no-collide-with-tag>cloak</no-collide-with-tag>

		<weight-threshold bone="NPC Pelvis [Pelv]">1</weight-threshold>
		<weight-threshold bone="NPC Spine [Spn0]">1</weight-threshold>
		<weight-threshold bone="NPC Spine1 [Spn1]">1</weight-threshold>
		
	    <weight-threshold bone="C10">0.3</weight-threshold>
	    <weight-threshold bone="C11">0.3</weight-threshold>
	    <weight-threshold bone="C12">0.3</weight-threshold>
	    <weight-threshold bone="C13">0.3</weight-threshold>
	    <weight-threshold bone="C14">0.3</weight-threshold>
	    <weight-threshold bone="C15">0.3</weight-threshold>
	    <weight-threshold bone="C16">0.3</weight-threshold>
	    <weight-threshold bone="C17">0.3</weight-threshold>
		
	    <weight-threshold bone="C20">0.3</weight-threshold>
	    <weight-threshold bone="C21">0.3</weight-threshold>
	    <weight-threshold bone="C22">0.3</weight-threshold>
	    <weight-threshold bone="C23">0.3</weight-threshold>
	    <weight-threshold bone="C24">0.3</weight-threshold>
	    <weight-threshold bone="C25">0.3</weight-threshold>
	    <weight-threshold bone="C26">0.3</weight-threshold>
	    <weight-threshold bone="C27">0.3</weight-threshold>

	    <weight-threshold bone="C30">0.3</weight-threshold>
	    <weight-threshold bone="C31">0.3</weight-threshold>
	    <weight-threshold bone="C32">0.3</weight-threshold>
	    <weight-threshold bone="C33">0.3</weight-threshold>
	    <weight-threshold bone="C34">0.3</weight-threshold>
	    <weight-threshold bone="C35">0.3</weight-threshold>
	    <weight-threshold bone="C36">0.3</weight-threshold>
	    <weight-threshold bone="C37">0.3</weight-threshold>

	    <weight-threshold bone="C40">0.3</weight-threshold>
	    <weight-threshold bone="C41">0.3</weight-threshold>
	    <weight-threshold bone="C42">0.3</weight-threshold>
	    <weight-threshold bone="C43">0.3</weight-threshold>
	    <weight-threshold bone="C44">0.3</weight-threshold>
	    <weight-threshold bone="C45">0.3</weight-threshold>
	    <weight-threshold bone="C46">0.3</weight-threshold>
	    <weight-threshold bone="C47">0.3</weight-threshold>

	    <weight-threshold bone="C50">0.3</weight-threshold>
	    <weight-threshold bone="C51">0.3</weight-threshold>
	    <weight-threshold bone="C52">0.3</weight-threshold>
	    <weight-threshold bone="C53">0.3</weight-threshold>
	    <weight-threshold bone="C54">0.3</weight-threshold>
	    <weight-threshold bone="C55">0.3</weight-threshold>
	    <weight-threshold bone="C56">0.3</weight-threshold>
	    <weight-threshold bone="C57">0.3</weight-threshold>
		
		</per-vertex-shape>	
	
	
</system>
		