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;; } CDSphere sphere{ 0.2; 0.5; 0.6;;; // phmaterial 0.5; // radius } CDBox bigBox{ 0.2; 0.5; 0.6;;; // phmaterial 2.0; 1.1; 0.9;; // boxsize } CDBox smallBox{ 0.2; 0.5; 0.1;;; // phmaterial 0.5; 0.8; 0.5;; // boxsize } 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; 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; {bigBox} } PHSolid soBlock2{ 0.0; 0.0; 0.0;; #vel 0.0; 0.0; 0.0;; #angular val 0.9; 0.2; 0.6; 0.3; 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; {smallBox} } PHSolid soSphere1{ 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; 7.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; {sphere} } } }