gfolf2/src/equipment/balls/beach_ball/beach_ball.tscn

40 lines
1.4 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://bptiryfbnautm"]
[ext_resource type="PackedScene" uid="uid://dfttci386ohip" path="res://src/equipment/balls/physics_ball/physics_ball.tscn" id="1_pl6e6"]
[ext_resource type="Texture2D" uid="uid://daipuukf6e6bc" path="res://assets/textures/beach_ball/beach_ball.png" id="2_6dwmi"]
[ext_resource type="Script" path="res://src/equipment/balls/beach_ball/beach_ball.gd" id="2_ay78j"]
[ext_resource type="Texture2D" uid="uid://3oatrxh60ed7" path="res://assets/textures/beach_ball/beach_ball_normal_map.png" id="3_rdlj8"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_867vn"]
friction = 0.7
bounce = 0.67
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_x6y4w"]
albedo_texture = ExtResource("2_6dwmi")
normal_enabled = true
normal_scale = 0.5
normal_texture = ExtResource("3_rdlj8")
texture_filter = 4
[sub_resource type="SphereMesh" id="SphereMesh_iqcc5"]
material = SubResource("StandardMaterial3D_x6y4w")
radial_segments = 6
rings = 6
[sub_resource type="SphereShape3D" id="SphereShape3D_cvsx2"]
[node name="BeachBall" instance=ExtResource("1_pl6e6")]
collision_mask = 3
mass = 0.1
physics_material_override = SubResource("PhysicsMaterial_867vn")
linear_damp = 0.1
script = ExtResource("2_ay78j")
base_damage = 5.0
radius = 0.5
[node name="BallMesh" parent="." index="0"]
mesh = SubResource("SphereMesh_iqcc5")
[node name="CollisionShape3D" parent="." index="1"]
shape = SubResource("SphereShape3D_cvsx2")