2018-07-19 15:37:24 +02:00
|
|
|
[gd_scene load_steps=4 format=2]
|
2018-07-19 15:36:51 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://Player.gd" type="Script" id=1]
|
2018-07-19 15:37:24 +02:00
|
|
|
[ext_resource path="res://Hedgehog.tscn" type="PackedScene" id=2]
|
2018-07-19 15:36:51 +02:00
|
|
|
|
2018-07-19 15:37:24 +02:00
|
|
|
[sub_resource type="BoxShape" id=1]
|
2018-07-19 15:36:56 +02:00
|
|
|
|
2018-07-19 15:37:24 +02:00
|
|
|
extents = Vector3( 1, 1, 1 )
|
2018-07-19 15:36:51 +02:00
|
|
|
|
2018-07-19 15:37:14 +02:00
|
|
|
[node name="Player" type="KinematicBody"]
|
2018-07-19 15:36:51 +02:00
|
|
|
|
2018-07-19 15:36:56 +02:00
|
|
|
input_ray_pickable = true
|
|
|
|
input_capture_on_drag = false
|
|
|
|
collision_layer = 1
|
|
|
|
collision_mask = 1
|
|
|
|
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.001
|
2018-07-19 15:36:51 +02:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2018-07-19 15:36:56 +02:00
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="." index="0"]
|
|
|
|
|
|
|
|
shape = SubResource( 1 )
|
|
|
|
disabled = false
|
|
|
|
|
2018-07-19 15:37:24 +02:00
|
|
|
[node name="Hedgehog" parent="." index="1" instance=ExtResource( 2 )]
|
2018-07-19 15:36:51 +02:00
|
|
|
|
2018-07-19 15:37:24 +02:00
|
|
|
transform = Transform( 0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0 )
|
|
|
|
_sections_unfolded = [ "Transform" ]
|
2018-07-19 15:36:51 +02:00
|
|
|
|
|
|
|
|