25 lines
954 B
Plaintext
25 lines
954 B
Plaintext
|
[gd_scene load_steps=6 format=3 uid="uid://ckbba1bs71tl"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://Crate.gd" id="1_alhhi"]
|
||
|
[ext_resource type="Texture2D" uid="uid://cuc1p8nq2vs6p" path="res://Textures/ball.png" id="2_raef5"]
|
||
|
[ext_resource type="ArrayMesh" uid="uid://dpgqjgkd2kx4b" path="res://Models/ball.obj" id="3_78csp"]
|
||
|
|
||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_si821"]
|
||
|
albedo_texture = ExtResource("2_raef5")
|
||
|
|
||
|
[sub_resource type="SphereShape3D" id="SphereShape3D_i5qy0"]
|
||
|
radius = 0.05
|
||
|
|
||
|
[node name="Crate" type="RigidBody3D"]
|
||
|
gravity_scale = 0.1
|
||
|
angular_damp = 10.0
|
||
|
script = ExtResource("1_alhhi")
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||
|
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0)
|
||
|
material_override = SubResource("StandardMaterial3D_si821")
|
||
|
mesh = ExtResource("3_78csp")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||
|
shape = SubResource("SphereShape3D_i5qy0")
|