Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/ogreode/demos/Media/zombie.ogreode @ 21

Last change on this file since 21 was 21, checked in by nicolasc, 17 years ago

added ogreode and Colladaplugin

File size: 3.1 KB
RevLine 
[21]1<ogreode>
2    <ragdoll name="zombie" meshName="zombie_small.mesh">
3
4        <!-- Set up the default settings -->
5        <defaults>
6            <settings geometry="capsule"  joint="ball" collapse="none" mass="50" radius="0.25">
7                <damping angular="0.1" linear="0.1" />
8                <axis number="1" x="1" y="0" z="0" />
9                <axis number="2" x="0" y="1" z="0" />
10            </settings>
11        </defaults>
12
13            <!-- Set up some specific settings, if no value's provided then the value that was last set for that parameter -->
14        <bone name="Torso">
15            <settings geometry="box" joint="fixed" />
16        </bone>
17
18        <bone name="Shoulders" />
19
20        <bone name="Neck">
21            <settings joint="universal">
22                <axis number="1" x="0" y="1" z="0">
23                    <stop low="-1.57" high="1.57" />
24                </axis>
25                <axis number="2" x="1" y="0" z="0">
26                    <stop low="-1.0" high="0.8" />
27                </axis>
28            </settings>
29        </bone>
30
31        <bone name="LeftAnkle">
32            <settings joint="hinge">
33                <axis number="1" x="1" y="0" z="0">
34                    <stop low="-1.57" high="0.8" />
35                </axis>
36            </settings>
37        </bone>
38
39        <bone name="RightAnkle" />
40
41        <bone name="LeftElbow">
42            <settings geometry="capsule">
43                <axis number="1">
44                    <stop low="0.0" high="2.0" />
45                </axis>
46            </settings>
47        </bone>
48
49        <bone name="RightElbow" />
50
51        <bone name="LeftKnee">
52            <settings>
53                <axis number="1">
54                    <stop low="-1.57" high="0.0" />
55                </axis>
56            </settings>
57        </bone>
58
59        <bone name="RightKnee" />
60
61        <bone name="RightHip">
62            <settings joint="universal">
63                <axis number="1" x="1" y="0" z="0">
64                    <stop low="-0.8" high="0.8" />
65                </axis>
66                <axis number="2" x="0" y="0" z="1">
67                    <stop low="0.0" high="0.8" />
68                </axis>
69            </settings>
70        </bone>
71
72        <bone name="LeftHip">
73            <settings>
74                <axis number="2" x="0" y="0" z="-1" />
75            </settings>
76        </bone>
77
78        <bone name="RightShoulder">
79            <settings>
80                <axis number="1">
81                    <stop low="-1.57" high="3.1416" />
82                </axis>
83                <axis number="2" z="1">
84                    <stop low="0" high="1.57" />
85                </axis>
86            </settings>
87        </bone>
88
89        <bone name="LeftShoulder">
90            <settings>
91                <axis number="2" z="-1" />
92            </settings>
93        </bone>
94
95        <!-- Set the root bone so it's collapsed up to where it joins the next
96                     body, to stop a big thing dangling down between his legs (Ooer!)
97                     Collapse is only (currently) supported on capsule bones -->
98        <bone name="Root">
99            <settings collapse="up" />
100        </bone>
101
102    </ragdoll>
103</ogreode>
104
Note: See TracBrowser for help on using the repository browser.