3dRemotePlayer.tscn 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. [gd_scene load_steps=11 format=2]
  2. [ext_resource path="res://lib/3dremoteplayer.gd" type="Script" id=1]
  3. [sub_resource type="SpatialMaterial" id=1]
  4. albedo_color = Color( 0.145098, 0.819608, 0.6, 1 )
  5. [sub_resource type="VisualShader" id=2]
  6. code = "shader_type spatial;
  7. render_mode specular_schlick_ggx;
  8. void vertex() {
  9. // Output:0
  10. }
  11. void fragment() {
  12. // Output:0
  13. }
  14. void light() {
  15. // Output:0
  16. }
  17. "
  18. [sub_resource type="ShaderMaterial" id=3]
  19. next_pass = SubResource( 1 )
  20. shader = SubResource( 2 )
  21. [sub_resource type="SphereShape" id=4]
  22. [sub_resource type="SpatialMaterial" id=5]
  23. albedo_color = Color( 0.803922, 0.796078, 0.141176, 1 )
  24. metallic = 0.55
  25. emission_enabled = true
  26. emission = Color( 0.686275, 0.72549, 0.054902, 1 )
  27. emission_energy = 1.0
  28. emission_operator = 0
  29. emission_on_uv2 = false
  30. [sub_resource type="VisualShader" id=6]
  31. code = "shader_type spatial;
  32. render_mode specular_schlick_ggx;
  33. void vertex() {
  34. // Output:0
  35. }
  36. void fragment() {
  37. // Output:0
  38. }
  39. void light() {
  40. // Output:0
  41. }
  42. "
  43. [sub_resource type="ShaderMaterial" id=7]
  44. next_pass = SubResource( 5 )
  45. shader = SubResource( 6 )
  46. [sub_resource type="PrismMesh" id=8]
  47. material = SubResource( 7 )
  48. size = Vector3( 0.5, 0.5, 0.1 )
  49. [sub_resource type="CapsuleMesh" id=9]
  50. radius = 0.1
  51. mid_height = 0.1
  52. [node name="KinematicBody" type="KinematicBody"]
  53. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -11.9732, 0 )
  54. script = ExtResource( 1 )
  55. [node name="CSGSphere" type="CSGSphere" parent="."]
  56. material = SubResource( 3 )
  57. [node name="CollisionShape" type="CollisionShape" parent="."]
  58. shape = SubResource( 4 )
  59. [node name="SoftBody" type="CSGMesh" parent="."]
  60. transform = Transform( 1, -0.000139656, 0.000325743, -0.000325731, 9.3261e-05, 1, -0.000139683, -1, 9.32206e-05, 0.00461829, 0, -1.1419 )
  61. mesh = SubResource( 8 )
  62. [node name="SoftBody2" type="CSGMesh" parent="."]
  63. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.337983, 0.393804, -0.754948 )
  64. mesh = SubResource( 9 )
  65. [node name="SoftBody3" type="CSGMesh" parent="."]
  66. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.361954, 0.393804, -0.754948 )
  67. mesh = SubResource( 9 )
  68. [node name="CameraHub" type="Spatial" parent="."]
  69. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.9732, 0 )
  70. [node name="Camera" type="Camera" parent="CameraHub"]
  71. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -8.12716, 7.16176 )