sphere.tscn 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [gd_scene load_steps=5 format=3 uid="uid://c6br8h3si2ypg"]
  2. [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_mp5c4"]
  3. friction = 0.0
  4. bounce = 1.0
  5. [sub_resource type="SphereMesh" id="SphereMesh_deuj3"]
  6. radius = 1.0
  7. height = 2.0
  8. radial_segments = 8
  9. rings = 4
  10. [sub_resource type="SphereShape3D" id="SphereShape3D_h6jr2"]
  11. radius = 1.0
  12. [sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_q1o6k"]
  13. properties/0/path = NodePath(".:linear_velocity")
  14. properties/0/spawn = true
  15. properties/0/sync = true
  16. properties/1/path = NodePath(".:angular_velocity")
  17. properties/1/spawn = true
  18. properties/1/sync = true
  19. properties/2/path = NodePath(".:position")
  20. properties/2/spawn = true
  21. properties/2/sync = true
  22. properties/3/path = NodePath(".:rotation")
  23. properties/3/spawn = true
  24. properties/3/sync = true
  25. [node name="Sphere" type="RigidBody3D"]
  26. transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.42886, 0)
  27. physics_material_override = SubResource("PhysicsMaterial_mp5c4")
  28. [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
  29. mesh = SubResource("SphereMesh_deuj3")
  30. skeleton = NodePath("../CollisionShape3D")
  31. [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
  32. shape = SubResource("SphereShape3D_h6jr2")
  33. [node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
  34. replication_config = SubResource("SceneReplicationConfig_q1o6k")