gfolf2/src/player/physics_ball/physics_ball.tscn

76 lines
2.0 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=12 format=3 uid="uid://dfttci386ohip"]
2024-11-03 01:05:49 +00:00
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_2gatw"]
bounce = 0.5
[sub_resource type="Gradient" id="Gradient_66vtd"]
offsets = PackedFloat32Array(0, 0.213823)
[sub_resource type="FastNoiseLite" id="FastNoiseLite_p7iuu"]
noise_type = 2
frequency = 0.06
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_wcxf4"]
width = 1024
seamless = true
color_ramp = SubResource("Gradient_66vtd")
noise = SubResource("FastNoiseLite_p7iuu")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_lplu7"]
noise_type = 2
frequency = 0.06
fractal_type = 2
fractal_lacunarity = 1.0
fractal_weighted_strength = 1.0
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_rvc1j"]
width = 1024
seamless = true
as_normal_map = true
noise = SubResource("FastNoiseLite_lplu7")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_3hdir"]
noise_type = 2
frequency = 0.06
fractal_type = 2
fractal_lacunarity = 1.0
fractal_weighted_strength = 1.0
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_lb1l7"]
width = 1024
invert = true
seamless = true
noise = SubResource("FastNoiseLite_3hdir")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bhmcr"]
albedo_texture = SubResource("NoiseTexture2D_wcxf4")
metallic = 0.27
roughness = 0.4
roughness_texture = SubResource("NoiseTexture2D_lb1l7")
normal_enabled = true
normal_texture = SubResource("NoiseTexture2D_rvc1j")
clearcoat_roughness = 0.0
[sub_resource type="SphereMesh" id="SphereMesh_l3o3t"]
material = SubResource("StandardMaterial3D_bhmcr")
radius = 0.05
height = 0.1
2024-11-03 01:05:49 +00:00
radial_segments = 6
rings = 6
[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
[node name="BallMesh" type="MeshInstance3D" parent="."]
mesh = SubResource("SphereMesh_l3o3t")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_0hvq6")