<?xml version="1.0" encoding="UTF-8"?>
<system xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="description.xsd">

	<!-- body -->
	<bone name="NPC Head [Head]"/>
	<bone name="NPC Spine2 [Spn2]"/>
	<bone name="NPC L Clavicle [LClv]"/>
	<bone name="NPC R Clavicle [RClv]"/>
	
	<bone name="MCCollar 0"/>
	
	
	<bone-default>
    <mass>3</mass>
    <inertia x="10" y="10" z="10"/>
    <centerOfMassTransform>
      <basis x="0" y="0" z="0" w="1"/>
      <origin x="0" y="0" z="0"/>
    </centerOfMassTransform>
    <linearDamping>0.8</linearDamping>
    <angularDamping>0.8</angularDamping>
    <friction>0</friction>
    <rollingFriction>0</rollingFriction>
    <restitution>0</restitution>
  </bone-default>
  
	<bone name="MCCollar 1"/>
	
	
	<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.7" y="-0.7" z="-0.1"/>
		<angularUpperLimit x="0.7" y="0.7" z="0.1"/>
		<linearStiffness x="0" y="0" z="0"/>
		<angularStiffness x="0" y="0" z="0"/>
		<linearDamping x="20" y="20" z="20"/>
		<angularDamping x="20" y="20" z="20"/>
		<linearEquilibrium x="0" y="0" z="0"/>
		<angularEquilibrium x="0" y="0" z="0"/>
	</generic-constraint-default>

  
    <generic-constraint bodyA="MCCollar 1" bodyB="MCCollar 0"/>
	
		
	<per-triangle-shape name="VirtualBody">
		<margin>0.1</margin>
		<prenetration>1</prenetration>
		<shared>private</shared>
		<tag>body</tag>
		<no-collide-with-tag>body</no-collide-with-tag>
		<can-collide-with-tag>amulet</can-collide-with-tag>
		<can-collide-with-tag>key</can-collide-with-tag>
		
		<weight-threshold bone="NPC Head [Head]">0.3</weight-threshold>
		<weight-threshold bone="NPC Spine2 [Spn2]">0.3</weight-threshold>
		<weight-threshold bone="NPC L Clavicle [LClv]">0.3</weight-threshold>
		<weight-threshold bone="NPC R Clavicle [RClv]">0.3</weight-threshold>
		
	</per-triangle-shape>	
	
	<per-vertex-shape name="10_collar_amulet">
		<margin>0.1</margin>
		<!-- <prenetration>0</prenetration> -->
		<shared>private</shared>
		<tag>amulet</tag>
		<no-collide-with-tag>key</no-collide-with-tag>
		<can-collide-with-tag>body</can-collide-with-tag>

		<weight-threshold bone="NPC Spine2 [Spn2]">1</weight-threshold>

	    <weight-threshold bone="MCCollar 1">0.3</weight-threshold>
	
	</per-vertex-shape>	
	
	<per-vertex-shape name="10_collar_key">
		<margin>0.1</margin>
		<!-- <prenetration>0</prenetration> -->
		<shared>private</shared>
		<tag>key</tag>
		<no-collide-with-tag>amulet</no-collide-with-tag>
		<can-collide-with-tag>body</can-collide-with-tag>

		<weight-threshold bone="NPC Spine2 [Spn2]">1</weight-threshold>

	    <weight-threshold bone="MCCollar 1">0.3</weight-threshold>
	
	</per-vertex-shape>	
	
	
</system>