diff options
Diffstat (limited to '')
-rw-r--r-- | godot/scenes/Die.tscn | 69 |
1 files changed, 68 insertions, 1 deletions
diff --git a/godot/scenes/Die.tscn b/godot/scenes/Die.tscn index 757cceb..a4017cb 100644 --- a/godot/scenes/Die.tscn +++ b/godot/scenes/Die.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=2] +[gd_scene load_steps=9 format=2] [ext_resource path="res://scenes/Die.gd" type="Script" id=1] [ext_resource path="res://assets/game_objects/W8baseColor_Mat.material" type="Material" id=2] @@ -27,6 +27,9 @@ surfaces/0 = { [sub_resource type="SphereMesh" id=5] +[sub_resource type="SphereShape" id=6] +radius = 0.1 + [node name="Die" type="RigidBody"] collision_mask = 3 physics_material_override = SubResource( 3 ) @@ -63,3 +66,67 @@ current = true far = 8192.0 margin = 0.57 process_mode = 1 + +[node name="Plus1" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.326057, 0.384412, 0.301075 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Plus1"] +shape = SubResource( 6 ) + +[node name="Plus2" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.326, -0.384, -0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Plus2"] +shape = SubResource( 6 ) + +[node name="Ball1" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.326, -0.384, 0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Ball1"] +shape = SubResource( 6 ) + +[node name="Ball2" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.326, 0.384, -0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Ball2"] +shape = SubResource( 6 ) + +[node name="Bounce1" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.326, 0.384, -0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Bounce1"] +shape = SubResource( 6 ) + +[node name="Bounce2" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.326, -0.384, 0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Bounce2"] +shape = SubResource( 6 ) + +[node name="Phase1" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.326, -0.384, -0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Phase1"] +shape = SubResource( 6 ) + +[node name="Phase2" type="Area" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.326, 0.384, 0.301 ) +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape" type="CollisionShape" parent="Phase2"] +shape = SubResource( 6 ) |