31 lines
874 B
Plaintext
31 lines
874 B
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://scripts/rock.gd" type="Script" id=1]
|
|
[ext_resource path="res://assets/geode/geode.tscn" type="PackedScene" id=2]
|
|
|
|
[sub_resource type="PhysicsMaterial" id=9]
|
|
friction = 0.75
|
|
bounce = 0.5
|
|
|
|
[sub_resource type="SphereShape" id=7]
|
|
radius = 4.0
|
|
|
|
[node name="rock" type="RigidBody"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4, 0 )
|
|
mass = 5.0
|
|
physics_material_override = SubResource( 9 )
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
|
shape = SubResource( 7 )
|
|
|
|
[node name="hit_box" type="Area" parent="."]
|
|
collision_layer = 40
|
|
collision_mask = 0
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="hit_box"]
|
|
shape = SubResource( 7 )
|
|
|
|
[node name="geode" parent="." instance=ExtResource( 2 )]
|
|
transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, -3.94248, 0 )
|