xof 0302txt 0064 PHSdk{ CDConvexMesh meshFloor{ 0.2; 0.5; 0.6;;; 10; 0;10;, 10; 0;-10;, -10; 0;10;, -10; 0;-10;, 10;-10;10;, 10;-10;-10;, -10;-10;10;, -10;-10;-10;; } CDConvexMesh meshBlock{ 0.2; 0.5; 0.6;;; 0.5; 0.5; 0.5;, 0.5; 0.5;-0.5;, -0.5; 0.5;0.5;, -0.5; 0.5;-0.5;, 0.5;-0.5; 0.5;, 0.5;-0.5;-0.5;, -0.5;-0.5;0.5;, -0.5;-0.5;-0.5;; } PHScene scene1{ 0.01; // timeStep 0;; // count 0;-9.8;0;; // gravity 15; PHSolid soFloor{ 0.0; 0.0; 0.0;; #vel 0.0; 0.0; 0.0;; #angular val 1.0; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0;; #pose ET w,x,y,z; px, py, pz; 0.0; 0.0; 0.0;; #force (read only) 0.0; 0.0; 0.0;; #torque (read only) 0.0; 0.0; 0.0;; #newForce 0.0; 0.0; 0.0;;; #newTorque 1e30; #mass 1e30, 0.0, 0.0, 0.0, 1e30, 0.0, 0.0, 0.0, 1e30;; #inertia 0.0; 0.0; 0.0;; #center false; {meshFloor} } PHSolid soBlock1{ 0.0; 0.0; 0.0;; #vel 0.0; 0.0; 0.0;; #angular val 1.0; 0.0; 0.0; 0.0; 0.0; 1.0; 0.0;; #pose ET w,x,y,z; px, py, pz; 0.0; 0.0; 0.0;; #force (read only) 0.0; 0.0; 0.0;; #torque (read only) 0.0; 0.0; 0.0;; #newForce 0.0; 0.0; 0.0;;; #newTorque 1; #mass 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1;; #inertia 0.0; 0.0; 0.0;; #center true; {meshBlock} } PHSolid soBlock2{ 0.0; 0.0; 0.0;; #vel 0.0; 0.0; 0.0;; #angular val 1.0; 0.0; 0.0; 0.0; 0.6; 3.0; 0.0;; #pose ET w,x,y,z; px, py, pz; 0.0; 0.0; 0.0;; #force (read only) 0.0; 0.0; 0.0;; #torque (read only) 0.0; 0.0; 0.0;; #newForce 0.0; 0.0; 0.0;;; #newTorque 1; #mass 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1;; #inertia 0.0; 0.0; 0.0;; #center true; {meshBlock} } PHSolid soBlock3{ 0.0; 0.0; 0.0;; #vel 0.0; 0.0; 0.0;; #angular val 1.0; 0.0; 0.0; 0.0; 0.0; 5.0; 0.0;; #pose ET w,x,y,z; px, py, pz; 0.0; 0.0; 0.0;; #force (read only) 0.0; 0.0; 0.0;; #torque (read only) 0.0; 0.0; 0.0;; #newForce 0.0; 0.0; 0.0;;; #newTorque 1; #mass 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1;; #inertia 0.0; 0.0; 0.0;; #center true; {meshBlock} } } }