1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- [gd_scene load_steps=5 format=2]
- [ext_resource path="res://Scripts/PlayerCharacters/Player.gd" type="Script" id=1]
- [ext_resource path="res://Scenes/Characters/franck_model.tscn" type="PackedScene" id=2]
- [ext_resource path="res://Scripts/PlayerCharacters/PlayerInventory.gd" type="Script" id=3]
- [sub_resource type="CapsuleShape" id=1]
- radius = 1.04271
- height = 0.828231
- [node name="Player" type="KinematicBody" index="0"]
- transform = Transform( 1, -2.38419e-07, 5.30863e-14, 9.19296e-14, 1.62921e-07, -1, 2.38419e-07, 1, 1.62921e-07, 0, 0, 0 )
- input_ray_pickable = true
- input_capture_on_drag = false
- collision_layer = 31
- collision_mask = 31
- axis_lock_linear_x = false
- axis_lock_linear_y = false
- axis_lock_linear_z = false
- axis_lock_angular_x = false
- axis_lock_angular_y = false
- axis_lock_angular_z = false
- collision/safe_margin = 0.07
- script = ExtResource( 1 )
- _sections_unfolded = [ "Collision", "Pause", "Transform", "Visibility", "collision" ]
- max_speed = 13.5
- acceleration = 10
- turn_acceleration = 12
- max_speed_back = 180
- acceleration_back = 90
- turn_speed = 3.3
- gravity = -21
- [node name="franck_model" parent="." index="0" instance=ExtResource( 2 )]
- transform = Transform( 1.3, -1.35525e-20, 0, 0, -2.11797e-07, 1.3, -2.37169e-20, -1.3, -2.11797e-07, -4.85698e-16, -8.6077e-10, 0.00528336 )
- visible = false
- _sections_unfolded = [ "Transform" ]
- [node name="CollisionShape" type="CollisionShape" parent="." index="1"]
- transform = Transform( 1, -4.76839e-07, 3.2243e-14, -4.76838e-07, -1, -8.74228e-08, 6.35078e-14, 8.74227e-08, -1, -3.10246e-08, -0.130127, -1.53832 )
- shape = SubResource( 1 )
- disabled = false
- _sections_unfolded = [ "Transform" ]
- [node name="WallRayCast" type="RayCast" parent="CollisionShape" index="0"]
- transform = Transform( 1, -4.57766e-07, 9.34404e-08, -4.57765e-07, -0.920003, 0.39191, -9.34389e-08, -0.39191, -0.920003, 3.98413e-07, 0.872041, 0.504633 )
- enabled = true
- exclude_parent = true
- cast_to = Vector3( 0, -1, 0.3 )
- collision_mask = 1
- [node name="FloorRayCast" type="RayCast" parent="CollisionShape" index="1"]
- transform = Transform( 1, -2.3842e-07, -2.3842e-07, -2.38419e-07, -4.37114e-08, -1, 2.38419e-07, 1, -4.37113e-08, 1.92403e-07, 0.00797796, -1.16973 )
- enabled = true
- exclude_parent = true
- cast_to = Vector3( 0, -0.5, 0 )
- collision_mask = 1
- [node name="PlayerInventory" type="Node" parent="." index="2"]
- script = ExtResource( 3 )
- _sections_unfolded = [ "Pause" ]
- item_dict = {
- 0: 0
- }
- activeInventorySlot = ""
- [node name="PlayerCamera" type="Camera" parent="." index="3"]
- transform = Transform( 1, -2.38419e-07, 2.38419e-07, -2.38419e-07, -4.37115e-08, 1, -2.38419e-07, -1, -4.37114e-08, -3.18193e-07, -1.33459, -2.36206 )
- keep_aspect = 1
- cull_mask = 1048575
- environment = null
- h_offset = 0.0
- v_offset = 0.0
- doppler_tracking = 0
- projection = 0
- current = true
- fov = 70.0
- size = 1.0
- near = 0.02
- far = 400.0
- _sections_unfolded = [ "Transform" ]
|