physics.physics 862 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. collisionObject ball
  2. {
  3. type = RIGID_BODY
  4. shape = SPHERE
  5. mass = 1.0
  6. friction = 0.5
  7. restitution = 0.5
  8. linearDamping = 0.1
  9. angularDamping = 0.5
  10. }
  11. collisionObject box
  12. {
  13. type = RIGID_BODY
  14. shape = BOX
  15. mass = 5.0
  16. friction = 1.0
  17. restitution = 0.0
  18. linearDamping = 0.5
  19. angularDamping = 0.5
  20. }
  21. collisionObject capsule
  22. {
  23. type = RIGID_BODY
  24. shape = CAPSULE
  25. mass = 5.0
  26. friction = 1.0
  27. restitution = 0.0
  28. linearDamping = 0.5
  29. angularDamping = 0.5
  30. }
  31. collisionObject duck
  32. {
  33. type = RIGID_BODY
  34. shape = BOX
  35. mass = 1.0
  36. friction = 1.0
  37. restitution = 0.0
  38. linearDamping = 0.5
  39. angularDamping = 0.5
  40. }
  41. collisionObject staticBox
  42. {
  43. type = RIGID_BODY
  44. shape = BOX
  45. mass = 0.0
  46. friction = 0.5
  47. restitution = 0.75
  48. linearDamping = 0.025
  49. angularDamping = 0.16
  50. }