[Opal-commits] opal/samples/simple_objects main.cpp,1.24,1.25 ragdoll.xml,1.1,1.2
Status: Inactive
Brought to you by:
tylerstreeter
|
From: tylerstreeter <tyl...@us...> - 2005-03-13 23:08:03
|
Update of /cvsroot/opal/opal/samples/simple_objects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24830/samples/simple_objects Modified Files: main.cpp ragdoll.xml Log Message: added xml parsing for raycast and volume sensors Index: main.cpp =================================================================== RCS file: /cvsroot/opal/opal/samples/simple_objects/main.cpp,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** main.cpp 8 Mar 2005 16:10:21 -0000 1.24 --- main.cpp 13 Mar 2005 23:06:54 -0000 1.25 *************** *** 128,134 **** void makeRagdoll() { // Instantiate the Blueprint. opal::BlueprintInstance instance; ! gSimulator->instantiateBlueprint(instance, gRagdollBP); int i=0; --- 128,137 ---- void makeRagdoll() { + opal::Matrix44r offset; + offset.translate(0, 10, 0); + // Instantiate the Blueprint. opal::BlueprintInstance instance; ! gSimulator->instantiateBlueprint(instance, gRagdollBP, offset); int i=0; Index: ragdoll.xml =================================================================== RCS file: /cvsroot/opal/opal/samples/simple_objects/ragdoll.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ragdoll.xml 1 Mar 2005 05:04:20 -0000 1.1 --- ragdoll.xml 13 Mar 2005 23:07:09 -0000 1.2 *************** *** 37,40 **** --- 37,42 ---- <Name value="left shoulder"/> <Type value="universal"/> + <BreakMode value="threshold"/> + <BreakThresh value="0.5"/> <References solid0="upper left arm" solid1="upper torso"/> <Anchor x="0.16" y="0.9" z="0.0"/> *************** *** 112,115 **** --- 114,119 ---- <Name value="right shoulder"/> <Type value="universal"/> + <BreakMode value="threshold"/> + <BreakThresh value="0.5"/> <References solid0="upper right arm" solid1="upper torso"/> <Anchor x="-0.16" y="0.9" z="0.0"/> *************** *** 239,242 **** --- 243,248 ---- <Name value="left hip"/> <Type value="universal"/> + <BreakMode value="threshold"/> + <BreakThresh value="0.5"/> <References solid0="upper left leg" solid1="pelvis"/> <Anchor x="0.08" y="0.58" z="0.0"/> *************** *** 269,272 **** --- 275,280 ---- <Name value="right hip"/> <Type value="universal"/> + <BreakMode value="threshold"/> + <BreakThresh value="0.5"/> <References solid0="upper right leg" solid1="pelvis"/> <Anchor x="-0.08" y="0.58" z="0.0"/> |