28 lines
863 B
Plaintext
28 lines
863 B
Plaintext
[gd_scene format=3 uid="uid://b3rock7gyam2k"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/Rock.gd" id="1_rock"]
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_1"]
|
|
radius = 0.25
|
|
height = 0.5
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
|
|
albedo_color = Color(0.45, 0.38, 0.3, 1)
|
|
roughness = 1.0
|
|
metallic = 0.05
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_1"]
|
|
radius = 0.25
|
|
|
|
[node name="Rock" type="CharacterBody3D"]
|
|
script = ExtResource("1_rock")
|
|
|
|
[node name="RockMesh" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
|
|
mesh = SubResource("SphereMesh_1")
|
|
material_override = SubResource("StandardMaterial3D_1")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
|
|
shape = SubResource("SphereShape3D_1")
|