physics.scene 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. scene
  2. {
  3. path = res/common/physics.gpb
  4. node duck
  5. {
  6. url = res/common/duck.gpb#duck
  7. material = res/common/duck.material
  8. translate = -4, 5, 0
  9. rotate = 0.0, 1.0, 0.0, 180
  10. collisionObject = res/common/physics.physics#duck
  11. }
  12. node floor
  13. {
  14. material = res/common/physics.material#floor
  15. collisionObject = res/common/physics.physics#staticBox
  16. }
  17. node wall01
  18. {
  19. material = res/common/physics.material#floor
  20. collisionObject = res/common/physics.physics#staticBox
  21. }
  22. node wall02
  23. {
  24. material = res/common/physics.material#floor
  25. collisionObject = res/common/physics.physics#staticBox
  26. }
  27. node wall03
  28. {
  29. material = res/common/physics.material#floor
  30. collisionObject = res/common/physics.physics#staticBox
  31. }
  32. node wall04
  33. {
  34. material = res/common/physics.material#floor
  35. collisionObject = res/common/physics.physics#staticBox
  36. }
  37. node box
  38. {
  39. material = res/common/physics.material#green
  40. collisionObject = res/common/physics.physics#box
  41. }
  42. node sphere
  43. {
  44. material = res/common/physics.material#red
  45. collisionObject = res/common/physics.physics#ball
  46. }
  47. node capsule
  48. {
  49. material = res/common/physics.material#blue
  50. collisionObject = res/common/physics.physics#capsule
  51. }
  52. physics
  53. {
  54. gravity = 0.0, -9.8, 0.0
  55. }
  56. }