sample.physics 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. collisionObject basketball
  2. {
  3. type = RIGID_BODY
  4. shape = SPHERE
  5. mass = 1.0
  6. friction = 0.5
  7. restitution = 1.0
  8. linearDamping = 0.1
  9. angularDamping = 0.5
  10. }
  11. collisionObject chair
  12. {
  13. type = RIGID_BODY
  14. shape = BOX
  15. mass = 5.0
  16. friction = 1.0
  17. restitution = 0.0
  18. linearDamping = 0.9
  19. angularDamping = 0.5
  20. }
  21. collisionObject table
  22. {
  23. type = RIGID_BODY
  24. shape = BOX
  25. mass = 0.0
  26. friction = 0.5
  27. restitution = 0.75
  28. linearDamping = 0.1
  29. angularDamping = 0.5
  30. }
  31. collisionObject staticBox
  32. {
  33. type = RIGID_BODY
  34. shape = BOX
  35. mass = 0.0
  36. friction = 0.5
  37. restitution = 0.75
  38. linearDamping = 0.025
  39. angularDamping = 0.16
  40. }
  41. collisionObject staticMesh
  42. {
  43. type = RIGID_BODY
  44. shape = MESH
  45. mass = 0.0
  46. friction = 0.5
  47. restitution = 0.75
  48. linearDamping = 0.025
  49. angularDamping = 0.16
  50. }
  51. collisionObject boy
  52. {
  53. type = CHARACTER
  54. shape = CAPSULE
  55. radius = 1.2
  56. height = 6.0
  57. center = 0, 3.0, 0
  58. centerAbsolute = true
  59. mass = 20.0
  60. maxStepHeight = 0
  61. maxSlopeAngle = 0
  62. }
  63. collisionObject camera
  64. {
  65. type = GHOST_OBJECT
  66. shape = SPHERE
  67. radius = 0.5
  68. }