2024-11-03 17:07:21 +00:00
|
|
|
[gd_scene load_steps=7 format=3 uid="uid://dfttci386ohip"]
|
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ckhiq6rfjv63u" path="res://assets/textures/gfolfball/gfolfball.png" id="1_y3q5j"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://btntjs7mbdigu" path="res://assets/textures/gfolfball/gfolfball_normal.png" id="2_mx7l6"]
|
2024-11-02 01:50:02 +00:00
|
|
|
|
2024-11-03 01:05:49 +00:00
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_2gatw"]
|
|
|
|
bounce = 0.5
|
|
|
|
|
2024-11-03 17:07:21 +00:00
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xqofq"]
|
|
|
|
albedo_texture = ExtResource("1_y3q5j")
|
|
|
|
albedo_texture_force_srgb = true
|
2024-11-02 01:50:02 +00:00
|
|
|
metallic = 0.27
|
2024-11-03 17:07:21 +00:00
|
|
|
roughness = 0.67
|
2024-11-02 01:50:02 +00:00
|
|
|
normal_enabled = true
|
2024-11-03 17:07:21 +00:00
|
|
|
normal_scale = 0.2
|
|
|
|
normal_texture = ExtResource("2_mx7l6")
|
2024-11-02 01:50:02 +00:00
|
|
|
clearcoat_roughness = 0.0
|
2024-11-03 17:07:21 +00:00
|
|
|
uv1_scale = Vector3(3, 1.5, 3)
|
|
|
|
texture_filter = 4
|
2024-11-02 01:50:02 +00:00
|
|
|
|
2024-11-03 17:07:21 +00:00
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_y0d13"]
|
|
|
|
material = SubResource("StandardMaterial3D_xqofq")
|
2024-11-02 01:50:02 +00:00
|
|
|
radius = 0.05
|
|
|
|
height = 0.1
|
2024-11-03 01:05:49 +00:00
|
|
|
radial_segments = 6
|
|
|
|
rings = 6
|
2024-11-02 01:50:02 +00:00
|
|
|
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_0hvq6"]
|
|
|
|
radius = 0.05
|
|
|
|
|
|
|
|
[node name="PhysicsBall" type="RigidBody3D"]
|
2024-11-03 01:05:49 +00:00
|
|
|
collision_layer = 0
|
|
|
|
mass = 0.05
|
|
|
|
physics_material_override = SubResource("PhysicsMaterial_2gatw")
|
|
|
|
continuous_cd = true
|
|
|
|
linear_damp_mode = 1
|
2024-11-02 01:50:02 +00:00
|
|
|
|
|
|
|
[node name="BallMesh" type="MeshInstance3D" parent="."]
|
2024-11-03 17:07:21 +00:00
|
|
|
mesh = SubResource("SphereMesh_y0d13")
|
2024-11-02 01:50:02 +00:00
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
shape = SubResource("SphereShape3D_0hvq6")
|