24 lines
770 B
Text
24 lines
770 B
Text
|
[gd_scene load_steps=5 format=3 uid="uid://cru0ihb4eh5k3"]
|
||
|
|
||
|
[ext_resource type="Shader" path="res://assets/shaders/ball.gdshader" id="1_361vo"]
|
||
|
|
||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_1mwc0"]
|
||
|
render_priority = 0
|
||
|
shader = ExtResource("1_361vo")
|
||
|
|
||
|
[sub_resource type="SphereMesh" id="SphereMesh_3aj7c"]
|
||
|
material = SubResource("ShaderMaterial_1mwc0")
|
||
|
|
||
|
[sub_resource type="SphereShape3D" id="SphereShape3D_wj5uf"]
|
||
|
|
||
|
[node name="Ball" type="Node3D"]
|
||
|
|
||
|
[node name="RigidBody3D" type="RigidBody3D" parent="."]
|
||
|
gravity_scale = 0.279
|
||
|
|
||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D"]
|
||
|
mesh = SubResource("SphereMesh_3aj7c")
|
||
|
|
||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
|
||
|
shape = SubResource("SphereShape3D_wj5uf")
|