projectboost/scenes/characters/player.tscn
2025-02-09 13:59:57 +01:00

31 lines
1.1 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://cuduv6fwqtocs"]
[ext_resource type="Script" path="res://scenes/characters/Player.cs" id="1_fr1bo"]
[ext_resource type="AudioStream" uid="uid://nsq05kpsix83" path="res://resources/audio/SFX - Death Explosion.ogg" id="2_ml1je"]
[ext_resource type="AudioStream" uid="uid://cr4ckjeqxa5xe" path="res://resources/audio/SFX - Success.ogg" id="3_xmihe"]
[sub_resource type="CylinderMesh" id="CylinderMesh_dk8lw"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_bplwn"]
[node name="Player" type="RigidBody3D"]
axis_lock_linear_z = true
axis_lock_angular_x = true
axis_lock_angular_y = true
contact_monitor = true
max_contacts_reported = 10
linear_damp = 1.0
angular_damp = 3.0
script = ExtResource("1_fr1bo")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("CylinderMesh_dk8lw")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("CylinderShape3D_bplwn")
[node name="DeathAudioPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_ml1je")
[node name="SuccessAudioPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_xmihe")