diff --git a/3d/kinematic_character/cubio.gd b/3d/kinematic_character/cubio.gd index 2a8e04dd..25aa45da 100644 --- a/3d/kinematic_character/cubio.gd +++ b/3d/kinematic_character/cubio.gd @@ -3,7 +3,7 @@ extends KinematicBody # Member variables var g = -9.8 -var vel = Vector3() +var vel: Vector3 const MAX_SPEED = 5 const JUMP_SPEED = 7 const ACCEL= 2 @@ -12,8 +12,10 @@ const MAX_SLOPE_ANGLE = 30 func _physics_process(delta): + if Input.is_action_just_pressed("reset_position"): + translation = Vector3(-3, 4, 8) var dir = Vector3() # Where does the player intend to walk to - var cam_xform = $target/camera.get_global_transform() + var cam_xform = $Target/Camera.get_global_transform() if Input.is_action_pressed("move_forward"): dir += -cam_xform.basis[2] @@ -44,12 +46,12 @@ func _physics_process(delta): vel.x = hvel.x vel.z = hvel.z - vel = move_and_slide(vel, Vector3(0,1,0)) + vel = move_and_slide(vel, Vector3.UP) if is_on_floor() and Input.is_action_pressed("jump"): vel.y = JUMP_SPEED -func _on_tcube_body_enter(body): +func _on_tcube_body_entered(body): if body == self: - get_node("../ty").show() + get_node("WinText").show() diff --git a/3d/kinematic_character/cubio.tscn b/3d/kinematic_character/cubio.tscn new file mode 100644 index 00000000..0baa3c9b --- /dev/null +++ b/3d/kinematic_character/cubio.tscn @@ -0,0 +1,69 @@ +[gd_scene load_steps=7 format=2] + +[ext_resource path="res://cubio.gd" type="Script" id=1] +[ext_resource path="res://white_wood.png" type="Texture" id=2] +[ext_resource path="res://follow_camera.gd" type="Script" id=3] + +[sub_resource type="SpatialMaterial" id=1] +albedo_texture = ExtResource( 2 ) +metallic = 0.46 +roughness = 0.0 + +[sub_resource type="ArrayMesh" id=2] +surfaces/0 = { +"aabb": AABB( -1, -1, -1, 2, 2, 2 ), +"array_data": PoolByteArray( 147, 59, 147, 59, 255, 187, 0, 60, 43, 43, 145, 0, 201, 59, 194, 38, 147, 59, 147, 187, 255, 187, 0, 60, 43, 213, 145, 0, 201, 59, 201, 59, 147, 187, 147, 187, 0, 188, 0, 60, 213, 213, 145, 0, 194, 38, 201, 59, 147, 187, 147, 59, 0, 188, 0, 60, 213, 43, 145, 0, 194, 38, 194, 38, 147, 59, 147, 187, 0, 60, 0, 60, 43, 213, 111, 0, 201, 59, 201, 59, 147, 59, 147, 59, 0, 60, 0, 60, 43, 43, 111, 0, 201, 59, 194, 38, 147, 187, 147, 59, 255, 59, 0, 60, 213, 43, 111, 0, 194, 38, 194, 38, 147, 187, 147, 187, 255, 59, 0, 60, 213, 213, 111, 0, 194, 38, 201, 59, 0, 188, 147, 187, 147, 59, 0, 60, 145, 213, 43, 0, 194, 38, 201, 59, 0, 188, 147, 59, 147, 59, 0, 60, 145, 43, 43, 0, 194, 38, 194, 38, 255, 187, 147, 59, 147, 187, 0, 60, 145, 43, 213, 0, 201, 59, 194, 38, 255, 187, 147, 187, 147, 187, 0, 60, 145, 213, 213, 0, 201, 59, 201, 59, 147, 59, 0, 60, 147, 187, 0, 60, 43, 111, 213, 0, 201, 59, 194, 38, 147, 187, 0, 60, 147, 187, 0, 60, 213, 111, 213, 0, 194, 38, 194, 38, 147, 187, 0, 60, 147, 59, 0, 60, 213, 111, 43, 0, 194, 38, 201, 59, 147, 59, 0, 60, 147, 59, 0, 60, 43, 111, 43, 0, 201, 59, 201, 59, 0, 60, 147, 187, 147, 187, 0, 60, 111, 213, 213, 0, 201, 59, 201, 59, 0, 60, 147, 59, 147, 187, 0, 60, 111, 43, 213, 0, 201, 59, 194, 38, 255, 59, 147, 59, 147, 59, 0, 60, 111, 43, 43, 0, 194, 38, 194, 38, 0, 60, 147, 187, 147, 59, 0, 60, 111, 213, 43, 0, 194, 38, 201, 59, 147, 59, 147, 187, 255, 187, 0, 60, 43, 213, 145, 0, 201, 59, 0, 60, 0, 60, 147, 187, 147, 187, 0, 60, 111, 213, 213, 0, 0, 60, 27, 60, 147, 59, 0, 188, 147, 187, 0, 60, 43, 145, 213, 0, 201, 59, 27, 60, 147, 59, 0, 188, 147, 59, 0, 60, 43, 145, 43, 0, 201, 59, 201, 59, 0, 60, 147, 187, 147, 59, 0, 60, 111, 213, 43, 0, 0, 60, 201, 59, 147, 59, 147, 187, 0, 60, 0, 60, 43, 213, 111, 0, 201, 59, 0, 60, 147, 187, 0, 188, 147, 59, 0, 60, 213, 145, 43, 0, 194, 38, 201, 59, 147, 187, 147, 187, 255, 59, 0, 60, 213, 213, 111, 0, 194, 38, 255, 59, 0, 188, 147, 187, 147, 59, 0, 60, 145, 213, 43, 0, 0, 0, 201, 59, 255, 187, 147, 187, 147, 187, 0, 60, 145, 213, 213, 0, 0, 0, 194, 38, 147, 187, 147, 187, 0, 188, 0, 60, 213, 213, 145, 0, 194, 38, 0, 0, 147, 187, 0, 188, 147, 187, 0, 60, 213, 145, 213, 0, 194, 38, 194, 38, 0, 60, 147, 59, 147, 187, 0, 60, 111, 43, 213, 0, 0, 0, 194, 38, 147, 59, 147, 59, 255, 187, 0, 60, 43, 43, 145, 0, 194, 166, 0, 0, 147, 59, 0, 60, 147, 187, 0, 60, 43, 111, 213, 0, 194, 166, 194, 38, 147, 59, 0, 60, 147, 59, 0, 60, 43, 111, 43, 0, 201, 59, 0, 60, 147, 59, 147, 59, 0, 60, 0, 60, 43, 43, 111, 0, 201, 59, 27, 60, 255, 59, 147, 59, 147, 59, 0, 60, 111, 43, 43, 0, 255, 59, 27, 60, 0, 188, 147, 59, 147, 59, 0, 60, 145, 43, 43, 0, 0, 0, 201, 59, 147, 187, 147, 59, 255, 59, 0, 60, 213, 43, 111, 0, 194, 38, 255, 59, 147, 187, 147, 59, 0, 188, 0, 60, 213, 43, 145, 0, 194, 38, 0, 60, 255, 187, 147, 59, 147, 187, 0, 60, 145, 43, 213, 0, 0, 0, 27, 60, 147, 187, 0, 60, 147, 187, 0, 60, 213, 111, 213, 0, 194, 38, 27, 60, 0, 60, 147, 187, 147, 187, 0, 60, 111, 213, 213, 0, 0, 0, 194, 38, 0, 60, 147, 187, 147, 59, 0, 60, 111, 213, 43, 0, 0, 0, 201, 59, 147, 59, 0, 188, 147, 59, 0, 60, 43, 145, 43, 0, 194, 166, 201, 59, 147, 59, 0, 188, 147, 187, 0, 60, 43, 145, 213, 0, 194, 166, 194, 38, 147, 59, 147, 187, 255, 187, 0, 60, 43, 213, 145, 0, 201, 59, 0, 0, 147, 59, 0, 188, 147, 187, 0, 60, 43, 145, 213, 0, 201, 59, 194, 38, 0, 60, 147, 59, 147, 187, 0, 60, 111, 43, 213, 0, 0, 60, 194, 38, 0, 60, 147, 187, 147, 187, 0, 60, 111, 213, 213, 0, 0, 60, 201, 59, 255, 59, 147, 59, 147, 59, 0, 60, 111, 43, 43, 0, 0, 0, 194, 38, 147, 59, 147, 59, 0, 60, 0, 60, 43, 43, 111, 0, 194, 166, 194, 38, 147, 59, 147, 187, 0, 60, 0, 60, 43, 213, 111, 0, 194, 166, 201, 59, 147, 187, 0, 188, 147, 187, 0, 60, 213, 145, 213, 0, 201, 59, 0, 60, 147, 187, 0, 188, 147, 59, 0, 60, 213, 145, 43, 0, 194, 38, 0, 60, 0, 188, 147, 59, 147, 59, 0, 60, 145, 43, 43, 0, 0, 0, 194, 38, 0, 188, 147, 187, 147, 59, 0, 60, 145, 213, 43, 0, 0, 0, 201, 59, 255, 187, 147, 187, 147, 187, 0, 60, 145, 213, 213, 0, 0, 0, 201, 59, 255, 187, 147, 59, 147, 187, 0, 60, 145, 43, 213, 0, 0, 0, 194, 38, 255, 59, 147, 59, 147, 59, 0, 60, 111, 43, 43, 0, 255, 59, 201, 59, 0, 60, 147, 59, 147, 187, 0, 60, 111, 43, 213, 0, 0, 60, 194, 38, 147, 59, 147, 59, 255, 187, 0, 60, 43, 43, 145, 0, 201, 59, 0, 0, 147, 187, 147, 59, 0, 188, 0, 60, 213, 43, 145, 0, 194, 38, 0, 0, 147, 59, 147, 59, 0, 60, 0, 60, 43, 43, 111, 0, 201, 59, 0, 60 ), +"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0, 4, 0, 6, 0, 5, 0, 4, 0, 7, 0, 6, 0, 8, 0, 10, 0, 9, 0, 8, 0, 11, 0, 10, 0, 12, 0, 14, 0, 13, 0, 12, 0, 15, 0, 14, 0, 16, 0, 18, 0, 17, 0, 16, 0, 19, 0, 18, 0, 20, 0, 22, 0, 21, 0, 23, 0, 25, 0, 24, 0, 26, 0, 28, 0, 27, 0, 29, 0, 31, 0, 30, 0, 32, 0, 34, 0, 33, 0, 35, 0, 37, 0, 36, 0, 14, 0, 39, 0, 38, 0, 40, 0, 42, 0, 41, 0, 43, 0, 45, 0, 44, 0, 43, 0, 46, 0, 45, 0, 30, 0, 48, 0, 47, 0, 30, 0, 31, 0, 48, 0, 1, 0, 49, 0, 0, 0, 1, 0, 50, 0, 49, 0, 25, 0, 26, 0, 27, 0, 25, 0, 23, 0, 26, 0, 44, 0, 52, 0, 51, 0, 44, 0, 53, 0, 52, 0, 8, 0, 54, 0, 11, 0, 8, 0, 55, 0, 54, 0, 7, 0, 56, 0, 6, 0, 7, 0, 57, 0, 56, 0, 58, 0, 3, 0, 59, 0, 58, 0, 2, 0, 3, 0, 12, 0, 60, 0, 15, 0, 12, 0, 61, 0, 60, 0, 62, 0, 13, 0, 63, 0, 62, 0, 12, 0, 13, 0, 15, 0, 39, 0, 14, 0, 15, 0, 64, 0, 39, 0, 14, 0, 59, 0, 13, 0, 14, 0, 38, 0, 59, 0, 48, 0, 26, 0, 23, 0, 48, 0, 31, 0, 26, 0 ), +"blend_shape_data": [ ], +"format": 98067, +"index_count": 132, +"material": SubResource( 1 ), +"name": "Material", +"primitive": 4, +"skeleton_aabb": [ ], +"vertex_count": 65 +} + +[sub_resource type="BoxShape" id=3] + +[node name="Cubio" type="KinematicBody"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 4, 8 ) +script = ExtResource( 1 ) + +[node name="CubeMesh" type="MeshInstance" parent="."] +_import_path = NodePath("cube-col") +transform = Transform( 0.95, 0, 0, 0, 0.95, 0, 0, 0, 0.95, 0, 0, 0 ) +mesh = SubResource( 2 ) +material/0 = null + +[node name="CollisionShape" type="CollisionShape" parent="."] +transform = Transform( 0.95, 0, 0, 0, -4.15258e-08, -0.95, 0, 0.95, -4.15258e-08, 0, 0, 0 ) +shape = SubResource( 3 ) + +[node name="Target" type="Spatial" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.85165, 0 ) + +[node name="Camera" type="Camera" parent="Target"] +transform = Transform( 0.00880322, -0.305732, 0.952077, 0.00282677, 0.952118, 0.305719, -0.999957, 0, 0.00924594, 4.23538, 1.00622, 0.120926 ) +fov = 74.0 +near = 0.1 +script = ExtResource( 3 ) + +[node name="WinText" type="CenterContainer" parent="."] +visible = false +anchor_right = 1.0 +margin_bottom = 100.0 + +[node name="Holder" type="Control" parent="WinText"] +margin_left = 512.0 +margin_top = 50.0 +margin_right = 512.0 +margin_bottom = 50.0 + +[node name="TextLabel" type="Label" parent="WinText/Holder"] +margin_left = -354.0 +margin_bottom = 14.0 +rect_scale = Vector2( 2, 2 ) +text = "Thank You, Cubio! But the Princess is in Another Demo!" +align = 1 +valign = 1 diff --git a/3d/kinematic_character/follow_camera.gd b/3d/kinematic_character/follow_camera.gd index 75badcb5..1c3da6fb 100644 --- a/3d/kinematic_character/follow_camera.gd +++ b/3d/kinematic_character/follow_camera.gd @@ -6,51 +6,42 @@ var collision_exception = [] export var min_distance = 0.5 export var max_distance = 5.5 export var angle_v_adjust = 0.0 -export var autoturn_ray_aperture = 25 -export var autoturn_speed = 50 var max_height = 2.0 var min_height = 0 +onready var target_node: Spatial = get_parent() -func _physics_process(dt): - var target = get_parent().global_transform.origin - var pos = global_transform.origin - var up = Vector3(0, 1, 0) +func _ready(): + collision_exception.append(target_node.get_parent().get_rid()) + # Detaches the camera transform from the parent spatial node + set_as_toplevel(true) - var delta = pos - target + +func _physics_process(_delta): + var target_pos: Vector3 = target_node.global_transform.origin + var camera_pos: Vector3 = global_transform.origin + + var delta_pos: Vector3 = camera_pos - target_pos # Regular delta follow # Check ranges - if delta.length() < min_distance: - delta = delta.normalized() * min_distance - elif delta.length() > max_distance: - delta = delta.normalized() * max_distance + if delta_pos.length() < min_distance: + delta_pos = delta_pos.normalized() * min_distance + elif delta_pos.length() > max_distance: + delta_pos = delta_pos.normalized() * max_distance # Check upper and lower height - if delta.y > max_height: - delta.y = max_height - if delta.y < min_height: - delta.y = min_height + if delta_pos.y > max_height: + delta_pos.y = max_height + if delta_pos.y < min_height: + delta_pos.y = min_height - pos = target + delta + camera_pos = target_pos + delta_pos - look_at_from_position(pos, target, up) + look_at_from_position(camera_pos, target_pos, Vector3.UP) # Turn a little up or down var t = transform t.basis = Basis(t.basis[0], deg2rad(angle_v_adjust)) * t.basis transform = t - - -func _ready(): - # Find collision exceptions for ray - var node = self - while node: - if node is RigidBody: - collision_exception.append(node.get_rid()) - break - else: - node = node.get_parent() - # This detaches the camera transform from the parent spatial node - set_as_toplevel(true) diff --git a/3d/kinematic_character/level.tscn b/3d/kinematic_character/level.tscn index 719619a5..7b8137c8 100644 --- a/3d/kinematic_character/level.tscn +++ b/3d/kinematic_character/level.tscn @@ -1,10 +1,8 @@ -[gd_scene load_steps=22 format=2] +[gd_scene load_steps=17 format=2] [ext_resource path="res://cubelib.tres" type="MeshLibrary" id=1] -[ext_resource path="res://cubio.gd" type="Script" id=2] -[ext_resource path="res://white_wood.png" type="Texture" id=3] -[ext_resource path="res://follow_camera.gd" type="Script" id=4] -[ext_resource path="res://purple_wood.png" type="Texture" id=5] +[ext_resource path="res://cubio.tscn" type="PackedScene" id=2] +[ext_resource path="res://purple_wood.png" type="Texture" id=3] [sub_resource type="ProceduralSky" id=1] radiance_size = 1 @@ -29,8 +27,9 @@ glow_blend_mode = 0 glow_bicubic_upscale = true [sub_resource type="SpatialMaterial" id=3] +albedo_color = Color( 0.7, 0.7, 0.7, 1 ) albedo_texture = ExtResource( 3 ) -metallic = 0.46 +metallic = 0.1 roughness = 0.0 [sub_resource type="ArrayMesh" id=4] @@ -50,30 +49,7 @@ surfaces/0 = { [sub_resource type="BoxShape" id=5] -[sub_resource type="SpatialMaterial" id=6] -albedo_color = Color( 0.7, 0.7, 0.7, 1 ) -albedo_texture = ExtResource( 5 ) -metallic = 0.1 -roughness = 0.0 - -[sub_resource type="ArrayMesh" id=7] -surfaces/0 = { -"aabb": AABB( -1, -1, -1, 2, 2, 2 ), -"array_data": PoolByteArray( 147, 59, 147, 59, 255, 187, 0, 60, 43, 43, 145, 0, 201, 59, 194, 38, 147, 59, 147, 187, 255, 187, 0, 60, 43, 213, 145, 0, 201, 59, 201, 59, 147, 187, 147, 187, 0, 188, 0, 60, 213, 213, 145, 0, 194, 38, 201, 59, 147, 187, 147, 59, 0, 188, 0, 60, 213, 43, 145, 0, 194, 38, 194, 38, 147, 59, 147, 187, 0, 60, 0, 60, 43, 213, 111, 0, 201, 59, 201, 59, 147, 59, 147, 59, 0, 60, 0, 60, 43, 43, 111, 0, 201, 59, 194, 38, 147, 187, 147, 59, 255, 59, 0, 60, 213, 43, 111, 0, 194, 38, 194, 38, 147, 187, 147, 187, 255, 59, 0, 60, 213, 213, 111, 0, 194, 38, 201, 59, 0, 188, 147, 187, 147, 59, 0, 60, 145, 213, 43, 0, 194, 38, 201, 59, 0, 188, 147, 59, 147, 59, 0, 60, 145, 43, 43, 0, 194, 38, 194, 38, 255, 187, 147, 59, 147, 187, 0, 60, 145, 43, 213, 0, 201, 59, 194, 38, 255, 187, 147, 187, 147, 187, 0, 60, 145, 213, 213, 0, 201, 59, 201, 59, 147, 59, 0, 60, 147, 187, 0, 60, 43, 111, 213, 0, 201, 59, 194, 38, 147, 187, 0, 60, 147, 187, 0, 60, 213, 111, 213, 0, 194, 38, 194, 38, 147, 187, 0, 60, 147, 59, 0, 60, 213, 111, 43, 0, 194, 38, 201, 59, 147, 59, 0, 60, 147, 59, 0, 60, 43, 111, 43, 0, 201, 59, 201, 59, 0, 60, 147, 187, 147, 187, 0, 60, 111, 213, 213, 0, 201, 59, 201, 59, 0, 60, 147, 59, 147, 187, 0, 60, 111, 43, 213, 0, 201, 59, 194, 38, 255, 59, 147, 59, 147, 59, 0, 60, 111, 43, 43, 0, 194, 38, 194, 38, 0, 60, 147, 187, 147, 59, 0, 60, 111, 213, 43, 0, 194, 38, 201, 59, 147, 59, 147, 187, 255, 187, 0, 60, 43, 213, 145, 0, 201, 59, 0, 60, 0, 60, 147, 187, 147, 187, 0, 60, 111, 213, 213, 0, 0, 60, 27, 60, 147, 59, 0, 188, 147, 187, 0, 60, 43, 145, 213, 0, 201, 59, 27, 60, 147, 59, 0, 188, 147, 59, 0, 60, 43, 145, 43, 0, 201, 59, 201, 59, 0, 60, 147, 187, 147, 59, 0, 60, 111, 213, 43, 0, 0, 60, 201, 59, 147, 59, 147, 187, 0, 60, 0, 60, 43, 213, 111, 0, 201, 59, 0, 60, 147, 187, 0, 188, 147, 59, 0, 60, 213, 145, 43, 0, 194, 38, 201, 59, 147, 187, 147, 187, 255, 59, 0, 60, 213, 213, 111, 0, 194, 38, 255, 59, 0, 188, 147, 187, 147, 59, 0, 60, 145, 213, 43, 0, 0, 0, 201, 59, 255, 187, 147, 187, 147, 187, 0, 60, 145, 213, 213, 0, 0, 0, 194, 38, 147, 187, 147, 187, 0, 188, 0, 60, 213, 213, 145, 0, 194, 38, 0, 0, 147, 187, 0, 188, 147, 187, 0, 60, 213, 145, 213, 0, 194, 38, 194, 38, 0, 60, 147, 59, 147, 187, 0, 60, 111, 43, 213, 0, 0, 0, 194, 38, 147, 59, 147, 59, 255, 187, 0, 60, 43, 43, 145, 0, 194, 166, 0, 0, 147, 59, 0, 60, 147, 187, 0, 60, 43, 111, 213, 0, 194, 166, 194, 38, 147, 59, 0, 60, 147, 59, 0, 60, 43, 111, 43, 0, 201, 59, 0, 60, 147, 59, 147, 59, 0, 60, 0, 60, 43, 43, 111, 0, 201, 59, 27, 60, 255, 59, 147, 59, 147, 59, 0, 60, 111, 43, 43, 0, 255, 59, 27, 60, 0, 188, 147, 59, 147, 59, 0, 60, 145, 43, 43, 0, 0, 0, 201, 59, 147, 187, 147, 59, 255, 59, 0, 60, 213, 43, 111, 0, 194, 38, 255, 59, 147, 187, 147, 59, 0, 188, 0, 60, 213, 43, 145, 0, 194, 38, 0, 60, 255, 187, 147, 59, 147, 187, 0, 60, 145, 43, 213, 0, 0, 0, 27, 60, 147, 187, 0, 60, 147, 187, 0, 60, 213, 111, 213, 0, 194, 38, 27, 60, 0, 60, 147, 187, 147, 187, 0, 60, 111, 213, 213, 0, 0, 0, 194, 38, 0, 60, 147, 187, 147, 59, 0, 60, 111, 213, 43, 0, 0, 0, 201, 59, 147, 59, 0, 188, 147, 59, 0, 60, 43, 145, 43, 0, 194, 166, 201, 59, 147, 59, 0, 188, 147, 187, 0, 60, 43, 145, 213, 0, 194, 166, 194, 38, 147, 59, 147, 187, 255, 187, 0, 60, 43, 213, 145, 0, 201, 59, 0, 0, 147, 59, 0, 188, 147, 187, 0, 60, 43, 145, 213, 0, 201, 59, 194, 38, 0, 60, 147, 59, 147, 187, 0, 60, 111, 43, 213, 0, 0, 60, 194, 38, 0, 60, 147, 187, 147, 187, 0, 60, 111, 213, 213, 0, 0, 60, 201, 59, 255, 59, 147, 59, 147, 59, 0, 60, 111, 43, 43, 0, 0, 0, 194, 38, 147, 59, 147, 59, 0, 60, 0, 60, 43, 43, 111, 0, 194, 166, 194, 38, 147, 59, 147, 187, 0, 60, 0, 60, 43, 213, 111, 0, 194, 166, 201, 59, 147, 187, 0, 188, 147, 187, 0, 60, 213, 145, 213, 0, 201, 59, 0, 60, 147, 187, 0, 188, 147, 59, 0, 60, 213, 145, 43, 0, 194, 38, 0, 60, 0, 188, 147, 59, 147, 59, 0, 60, 145, 43, 43, 0, 0, 0, 194, 38, 0, 188, 147, 187, 147, 59, 0, 60, 145, 213, 43, 0, 0, 0, 201, 59, 255, 187, 147, 187, 147, 187, 0, 60, 145, 213, 213, 0, 0, 0, 201, 59, 255, 187, 147, 59, 147, 187, 0, 60, 145, 43, 213, 0, 0, 0, 194, 38, 255, 59, 147, 59, 147, 59, 0, 60, 111, 43, 43, 0, 255, 59, 201, 59, 0, 60, 147, 59, 147, 187, 0, 60, 111, 43, 213, 0, 0, 60, 194, 38, 147, 59, 147, 59, 255, 187, 0, 60, 43, 43, 145, 0, 201, 59, 0, 0, 147, 187, 147, 59, 0, 188, 0, 60, 213, 43, 145, 0, 194, 38, 0, 0, 147, 59, 147, 59, 0, 60, 0, 60, 43, 43, 111, 0, 201, 59, 0, 60 ), -"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 0, 0, 3, 0, 2, 0, 4, 0, 6, 0, 5, 0, 4, 0, 7, 0, 6, 0, 8, 0, 10, 0, 9, 0, 8, 0, 11, 0, 10, 0, 12, 0, 14, 0, 13, 0, 12, 0, 15, 0, 14, 0, 16, 0, 18, 0, 17, 0, 16, 0, 19, 0, 18, 0, 20, 0, 22, 0, 21, 0, 23, 0, 25, 0, 24, 0, 26, 0, 28, 0, 27, 0, 29, 0, 31, 0, 30, 0, 32, 0, 34, 0, 33, 0, 35, 0, 37, 0, 36, 0, 14, 0, 39, 0, 38, 0, 40, 0, 42, 0, 41, 0, 43, 0, 45, 0, 44, 0, 43, 0, 46, 0, 45, 0, 30, 0, 48, 0, 47, 0, 30, 0, 31, 0, 48, 0, 1, 0, 49, 0, 0, 0, 1, 0, 50, 0, 49, 0, 25, 0, 26, 0, 27, 0, 25, 0, 23, 0, 26, 0, 44, 0, 52, 0, 51, 0, 44, 0, 53, 0, 52, 0, 8, 0, 54, 0, 11, 0, 8, 0, 55, 0, 54, 0, 7, 0, 56, 0, 6, 0, 7, 0, 57, 0, 56, 0, 58, 0, 3, 0, 59, 0, 58, 0, 2, 0, 3, 0, 12, 0, 60, 0, 15, 0, 12, 0, 61, 0, 60, 0, 62, 0, 13, 0, 63, 0, 62, 0, 12, 0, 13, 0, 15, 0, 39, 0, 14, 0, 15, 0, 64, 0, 39, 0, 14, 0, 59, 0, 13, 0, 14, 0, 38, 0, 59, 0, 48, 0, 26, 0, 23, 0, 48, 0, 31, 0, 26, 0 ), -"blend_shape_data": [ ], -"format": 98067, -"index_count": 132, -"material": SubResource( 6 ), -"name": "Material", -"primitive": 4, -"skeleton_aabb": [ ], -"vertex_count": 65 -} - -[sub_resource type="BoxShape" id=8] - -[sub_resource type="Animation" id=9] +[sub_resource type="Animation" id=6] length = 10.0 loop = true tracks/0/type = "value" @@ -89,7 +65,7 @@ tracks/0/keys = { "values": [ Vector3( 1, 9, -5 ), Vector3( 1, 9, -5 ), Vector3( 1, 17, -5 ), Vector3( 1, 17, -5 ), Vector3( 1, 9, -5 ), Vector3( 1, 9, -5 ) ] } -[sub_resource type="Animation" id=10] +[sub_resource type="Animation" id=7] length = 10.0 loop = true tracks/0/type = "value" @@ -105,22 +81,22 @@ tracks/0/keys = { "values": [ Vector3( -7, 17, 9 ), Vector3( -7, 17, 9 ), Vector3( 7, 17, 9 ), Vector3( 7, 17, 9 ), Vector3( -7, 17, 9 ) ] } -[sub_resource type="SpatialMaterial" id=11] +[sub_resource type="SpatialMaterial" id=8] albedo_color = Color( 0.7, 0.7, 0.7, 1 ) metallic = 0.1 roughness = 0.0 -[sub_resource type="SpatialMaterial" id=12] +[sub_resource type="SpatialMaterial" id=9] albedo_color = Color( 0.7, 0.7, 0.7, 1 ) metallic = 0.1 roughness = 0.0 -[sub_resource type="SpatialMaterial" id=13] +[sub_resource type="SpatialMaterial" id=10] albedo_color = Color( 0.7, 0.7, 0.7, 1 ) metallic = 0.1 roughness = 0.0 -[sub_resource type="ArrayMesh" id=14] +[sub_resource type="ArrayMesh" id=11] surfaces/0 = { "aabb": AABB( -1.54775, 0.198285, -1.54775, 3.09549, 2.553, 3.09549 ), "array_data": PoolByteArray( 143, 60, 128, 65, 143, 188, 0, 60, 43, 111, 213, 0, 49, 52, 24, 58, 143, 188, 128, 65, 143, 188, 0, 60, 213, 111, 213, 0, 19, 43, 24, 58, 143, 188, 128, 65, 143, 60, 0, 60, 213, 111, 43, 0, 19, 43, 192, 59, 143, 60, 128, 65, 143, 60, 0, 60, 43, 111, 43, 0, 49, 52, 192, 59, 0, 60, 88, 50, 228, 185, 0, 60, 98, 186, 219, 0, 227, 49, 179, 59, 228, 57, 88, 50, 255, 187, 0, 60, 37, 186, 158, 0, 184, 49, 172, 59, 143, 60, 159, 56, 48, 190, 0, 60, 44, 199, 153, 0, 124, 49, 192, 59, 48, 62, 159, 56, 143, 188, 0, 60, 103, 199, 212, 0, 181, 49, 204, 59, 228, 57, 88, 50, 0, 60, 0, 60, 37, 186, 98, 0, 141, 50, 125, 59, 255, 59, 88, 50, 228, 57, 0, 60, 98, 186, 37, 0, 169, 50, 114, 59, 48, 62, 159, 56, 143, 60, 0, 60, 103, 199, 44, 0, 91, 50, 100, 59, 143, 60, 159, 56, 48, 62, 0, 60, 44, 199, 103, 0, 44, 50, 114, 59, 0, 188, 88, 50, 228, 57, 0, 60, 158, 186, 37, 0, 190, 48, 125, 59, 228, 185, 88, 50, 255, 59, 0, 60, 219, 186, 98, 0, 218, 48, 114, 59, 143, 188, 159, 56, 48, 62, 0, 60, 212, 199, 103, 0, 140, 48, 100, 59, 48, 190, 159, 56, 143, 60, 0, 60, 153, 199, 44, 0, 92, 48, 114, 59, 228, 185, 88, 50, 255, 187, 0, 60, 219, 186, 158, 0, 108, 47, 200, 58, 255, 187, 88, 50, 228, 185, 0, 60, 158, 186, 219, 0, 22, 47, 193, 58, 48, 190, 159, 56, 143, 188, 0, 60, 153, 199, 212, 0, 159, 46, 213, 58, 143, 188, 159, 56, 48, 190, 0, 60, 212, 199, 153, 0, 16, 47, 225, 58, 0, 60, 88, 50, 228, 185, 0, 60, 98, 186, 219, 0, 102, 51, 89, 59, 48, 62, 159, 56, 143, 188, 0, 60, 103, 199, 212, 0, 102, 51, 58, 59, 228, 185, 88, 50, 255, 187, 0, 60, 219, 186, 158, 0, 81, 49, 125, 59, 143, 188, 159, 56, 48, 190, 0, 60, 212, 199, 153, 0, 214, 48, 125, 59, 228, 57, 88, 50, 0, 60, 0, 60, 37, 186, 98, 0, 150, 49, 89, 59, 143, 60, 159, 56, 48, 62, 0, 60, 44, 199, 103, 0, 150, 49, 58, 59, 0, 188, 88, 50, 228, 57, 0, 60, 158, 186, 37, 0, 72, 46, 146, 58, 48, 190, 159, 56, 143, 60, 0, 60, 153, 199, 44, 0, 83, 45, 146, 58, 48, 62, 159, 56, 143, 188, 0, 60, 103, 199, 212, 0, 248, 168, 55, 58, 143, 60, 159, 56, 48, 190, 0, 60, 44, 199, 153, 0, 5, 48, 55, 58, 143, 60, 176, 64, 48, 190, 0, 60, 43, 43, 145, 0, 5, 48, 99, 50, 48, 62, 176, 64, 143, 188, 0, 60, 111, 43, 213, 0, 248, 168, 99, 50, 143, 60, 159, 56, 48, 62, 0, 60, 44, 199, 103, 0, 248, 168, 55, 58, 48, 62, 159, 56, 143, 60, 0, 60, 103, 199, 44, 0, 5, 48, 55, 58, 48, 62, 176, 64, 143, 60, 0, 60, 111, 43, 43, 0, 5, 48, 99, 50, 143, 60, 176, 64, 48, 62, 0, 60, 43, 43, 111, 0, 248, 168, 99, 50, 48, 190, 159, 56, 143, 60, 0, 60, 153, 199, 44, 0, 248, 168, 55, 58, 143, 188, 159, 56, 48, 62, 0, 60, 212, 199, 103, 0, 5, 48, 55, 58, 143, 188, 176, 64, 48, 62, 0, 60, 213, 43, 111, 0, 5, 48, 99, 50, 48, 190, 176, 64, 143, 60, 0, 60, 145, 43, 43, 0, 248, 168, 99, 50, 143, 188, 159, 56, 48, 190, 0, 60, 212, 199, 153, 0, 248, 168, 55, 58, 48, 190, 159, 56, 143, 188, 0, 60, 153, 199, 212, 0, 5, 48, 55, 58, 48, 190, 176, 64, 143, 188, 0, 60, 145, 43, 213, 0, 5, 48, 99, 50, 143, 188, 176, 64, 48, 190, 0, 60, 213, 43, 145, 0, 248, 168, 99, 50, 48, 62, 159, 56, 143, 188, 0, 60, 103, 199, 212, 0, 10, 59, 55, 58, 48, 62, 176, 64, 143, 188, 0, 60, 111, 43, 213, 0, 10, 59, 99, 50, 143, 188, 159, 56, 48, 190, 0, 60, 212, 199, 153, 0, 10, 59, 55, 58, 143, 188, 176, 64, 48, 190, 0, 60, 213, 43, 145, 0, 10, 59, 99, 50, 143, 60, 159, 56, 48, 62, 0, 60, 44, 199, 103, 0, 10, 59, 55, 58, 143, 60, 176, 64, 48, 62, 0, 60, 43, 43, 111, 0, 10, 59, 99, 50, 48, 190, 159, 56, 143, 60, 0, 60, 153, 199, 44, 0, 10, 59, 55, 58, 48, 190, 176, 64, 143, 60, 0, 60, 145, 43, 43, 0, 10, 59, 99, 50, 143, 60, 128, 65, 143, 188, 0, 60, 43, 111, 213, 0, 5, 48, 98, 32, 143, 60, 128, 65, 143, 60, 0, 60, 43, 111, 43, 0, 5, 48, 98, 32, 143, 188, 128, 65, 143, 60, 0, 60, 213, 111, 43, 0, 5, 48, 98, 32, 143, 188, 128, 65, 143, 188, 0, 60, 213, 111, 213, 0, 5, 48, 98, 32, 143, 60, 128, 65, 143, 188, 0, 60, 43, 111, 213, 0, 10, 59, 98, 32, 143, 188, 128, 65, 143, 188, 0, 60, 213, 111, 213, 0, 10, 59, 98, 32, 143, 60, 128, 65, 143, 60, 0, 60, 43, 111, 43, 0, 10, 59, 98, 32, 143, 188, 128, 65, 143, 60, 0, 60, 213, 111, 43, 0, 10, 59, 98, 32 ), @@ -128,7 +104,7 @@ surfaces/0 = { "blend_shape_data": [ ], "format": 98067, "index_count": 138, -"material": SubResource( 11 ), +"material": SubResource( 8 ), "name": "hat", "primitive": 4, "skeleton_aabb": [ ], @@ -141,7 +117,7 @@ surfaces/1 = { "blend_shape_data": [ ], "format": 98067, "index_count": 90, -"material": SubResource( 12 ), +"material": SubResource( 9 ), "name": "Material", "primitive": 4, "skeleton_aabb": [ ], @@ -154,17 +130,17 @@ surfaces/2 = { "blend_shape_data": [ ], "format": 98067, "index_count": 12, -"material": SubResource( 13 ), +"material": SubResource( 10 ), "name": "Material.001", "primitive": 4, "skeleton_aabb": [ ], "vertex_count": 8 } -[sub_resource type="BoxShape" id=15] -extents = Vector3( 3.3942, 1, 4.14616 ) +[sub_resource type="BoxShape" id=12] +extents = Vector3( 4, 4, 4 ) -[sub_resource type="GIProbeData" id=16] +[sub_resource type="GIProbeData" id=13] bounds = AABB( -13.6076, -16.5391, -19.9349, 27.2151, 33.0781, 39.8698 ) cell_size = 0.311482 to_cell_xform = Transform( 3.21045, 0, 0, 0, 3.21045, 0, 0, 0, 3.21045, 43.6865, 53.0979, 64 ) @@ -172,7 +148,7 @@ dynamic_data = PoolIntArray( 0, 8, 128, 128, 128, 53834, 41559, 0, 0, 0, 0, 0, 0 dynamic_range = 4 bias = 1.8 -[node name="world" type="Spatial"] +[node name="World" type="Spatial"] __meta__ = { "__editor_plugin_screen__": "3D" } @@ -181,7 +157,7 @@ __meta__ = { mesh_library = ExtResource( 1 ) cell_octant_size = 4 data = { -"cells": PoolIntArray( 0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 65530, 0, 0, 65531, 0, 0, 65532, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 0, 536870912, 196603, 0, 0, 196604, 0, 536870912, 524292, 0, 0, 589820, 0, 536870912, 786432, 0, 0, 851967, 0, 536870912, 0, 1, 0, 1, 1, 1073741824, 2, 1, 536870912, 3, 1, 0, 4, 1, 0, 65530, 1, 536870912, 65531, 1, 1073741824, 65532, 1, 0, 65533, 1, 0, 65534, 1, 0, 65535, 1, 1073741824, 131075, 1, 536870912, 196603, 1, 0, 196604, 1, 0, 524292, 1, 0, 589820, 1, 0, 786432, 1, 0, 851967, 1, 0, 0, 2, 0, 1, 2, 0, 2, 2, 0, 3, 2, 0, 4, 2, 0, 65530, 2, 0, 65531, 2, 0, 65532, 2, 0, 65533, 2, 0, 65534, 2, 0, 65535, 2, 0, 131075, 2, 0, 196603, 2, 0, 196604, 2, 0, 524292, 2, 0, 589820, 2, 0, 786432, 2, 0, 786433, 2, 0, 851966, 2, 0, 851967, 2, 0, 0, 3, 0, 1, 3, 0, 2, 3, 0, 3, 3, 0, 4, 3, 0, 65530, 3, 0, 65531, 3, 0, 65532, 3, 0, 65533, 3, 0, 65534, 3, 0, 65535, 3, 0, 196603, 3, 0, 524291, 3, 0, 524292, 3, 0, 589820, 3, 0, 786432, 3, 0, 786433, 3, 0, 851966, 3, 0, 851967, 3, 0, 0, 4, 0, 1, 4, 0, 2, 4, 0, 3, 4, 0, 4, 4, 0, 65530, 4, 0, 65531, 4, 0, 65532, 4, 0, 65533, 4, 0, 65534, 4, 0, 65535, 4, 0, 196603, 4, 0, 786432, 4, 0, 851967, 4, 0, 0, 5, 0, 1, 5, 0, 2, 5, 0, 3, 5, 0, 4, 5, 0, 65530, 5, 0, 65531, 5, 0, 65532, 5, 0, 65533, 5, 0, 65534, 5, 0, 65535, 5, 0, 131075, 5, 0, 0, 6, 0, 1, 6, 0, 2, 6, 0, 3, 6, 0, 4, 6, 0, 65530, 6, 0, 65531, 6, 0, 65532, 6, 0, 65533, 6, 0, 65534, 6, 0, 65535, 6, 0, 131075, 6, 0, 196603, 6, 0, 0, 7, 0, 1, 7, 0, 2, 7, 0, 3, 7, 0, 4, 7, 0, 65530, 7, 0, 65531, 7, 0, 65532, 7, 0, 65533, 7, 0, 65534, 7, 0, 65535, 7, 0, 131075, 7, 0, 196603, 7, 0, 0, 8, 0, 1, 8, 0, 2, 8, 0, 3, 8, 0, 4, 8, 0, 65530, 8, 0, 65531, 8, 0, 65532, 8, 0, 65533, 8, 0, 65534, 8, 0, 65535, 8, 0, 131075, 8, 0, 196603, 8, 0, 196604, 8, 0, 0, 9, 0, 1, 9, 0, 2, 9, 0, 3, 9, 0, 4, 9, 0, 65530, 9, 0, 65531, 9, 0, 65532, 9, 0, 65533, 9, 0, 65534, 9, 0, 65535, 9, 0, 131073, 9, 0, 131074, 9, 0, 131075, 9, 0, 196603, 9, 0, 196604, 9, 0, 196605, 9, 0, 196608, 9, 0, 262142, 9, 0, 0, 10, 0, 1, 10, 0, 2, 10, 0, 3, 10, 0, 4, 10, 0, 65530, 10, 0, 65531, 10, 0, 65532, 10, 0, 65533, 10, 0, 65534, 10, 0, 65535, 10, 0, 0, 11, 0, 1, 11, 0, 2, 11, 0, 3, 11, 0, 4, 11, 0, 65530, 11, 0, 65531, 11, 0, 65532, 11, 0, 65533, 11, 0, 65534, 11, 0, 65535, 11, 0, 0, 65532, 0, 1, 65532, 0, 2, 65532, 0, 3, 65532, 0, 4, 65532, 0, 65530, 65532, 0, 65531, 65532, 0, 65532, 65532, 0, 65533, 65532, 0, 65534, 65532, 0, 65535, 65532, 0, 0, 65533, 0, 1, 65533, 0, 2, 65533, 0, 3, 65533, 0, 4, 65533, 0, 65530, 65533, 0, 65531, 65533, 0, 65532, 65533, 0, 65533, 65533, 0, 65534, 65533, 0, 65535, 65533, 0, 262145, 65533, 0, 262146, 65533, 0, 262147, 65533, 0, 589822, 65533, 0, 589823, 65533, 0, 655363, 65533, 0, 655364, 65533, 0, 720897, 65533, 0, 720898, 65533, 0, 786432, 65533, 0, 851967, 65533, 0, 0, 65534, 0, 1, 65534, 0, 2, 65534, 0, 3, 65534, 0, 4, 65534, 0, 65530, 65534, 0, 65531, 65534, 0, 65532, 65534, 0, 65533, 65534, 0, 65534, 65534, 0, 65535, 65534, 0, 65536, 65534, 0, 131071, 65534, 0, 196603, 65534, 0, 196604, 65534, 0, 196605, 65534, 0, 196606, 65534, 0, 196607, 65534, 0, 589822, 65534, 0, 589828, 65534, 0, 786432, 65534, 0, 851967, 65534, 0, 0, 65535, 0, 1, 65535, 0, 2, 65535, 0, 3, 65535, 0, 4, 65535, 0, 65530, 65535, 0, 65531, 65535, 0, 65532, 65535, 0, 65533, 65535, 0, 65534, 65535, 0, 65535, 65535, 0, 196603, 65535, 0, 196604, 65535, 0, 196611, 65535, 0, 589820, 65535, 0, 589821, 65535, 0, 589822, 65535, -1610612736, 589828, 65535, -1073741824, 786432, 65535, 0, 851967, 65535, 0 ) +"cells": PoolIntArray( 0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 65530, 0, 0, 65531, 0, 0, 65532, 0, 0, 65533, 0, 0, 65534, 0, 0, 65535, 0, 536870912, 196603, 0, 536870912, 196604, 0, 0, 524292, 0, 0, 589820, 0, 0, 786432, 0, 0, 851967, 0, 536870912, 0, 1, 0, 1, 1, 0, 2, 1, 0, 3, 1, 0, 4, 1, 0, 65530, 1, 0, 65531, 1, 0, 65532, 1, 0, 65533, 1, 0, 65534, 1, 0, 65535, 1, 0, 131075, 1, 0, 196603, 1, 0, 196604, 1, 0, 524292, 1, 0, 589820, 1, 0, 786432, 1, 0, 851967, 1, 0, 0, 2, 0, 1, 2, 0, 2, 2, -536870912, 3, 2, 0, 4, 2, 0, 65530, 2, 0, 65531, 2, 0, 65532, 2, 0, 65533, 2, 0, 65534, 2, 0, 65535, 2, 0, 131075, 2, 0, 196603, 2, 0, 196604, 2, 0, 524292, 2, 0, 589820, 2, 0, 786432, 2, 0, 786433, 2, 0, 851966, 2, 0, 851967, 2, 0, 0, 3, 0, 1, 3, 0, 2, 3, 0, 3, 3, 0, 4, 3, 0, 65530, 3, 0, 65531, 3, 0, 65532, 3, 0, 65533, 3, 0, 65534, 3, 0, 65535, 3, 0, 196603, 3, 0, 524291, 3, 536870912, 524292, 3, 0, 589820, 3, 0, 786432, 3, 0, 786433, 3, 0, 851966, 3, 0, 851967, 3, 0, 0, 4, 536870912, 1, 4, 0, 2, 4, 1073741824, 3, 4, 0, 4, 4, 0, 65530, 4, 0, 65531, 4, 1073741824, 65532, 4, 0, 65533, 4, 0, 65534, 4, 0, 65535, 4, 0, 196603, 4, 0, 786432, 4, 0, 851967, 4, 0, 0, 5, 0, 1, 5, 0, 2, 5, 0, 3, 5, 0, 4, 5, 0, 65530, 5, 536870912, 65531, 5, 0, 65532, 5, 0, 65533, 5, 0, 65534, 5, 1073741824, 65535, 5, 0, 131075, 5, 0, 0, 6, 0, 1, 6, 0, 2, 6, 0, 3, 6, 0, 4, 6, 536870912, 65530, 6, 0, 65531, 6, 0, 65532, 6, 0, 65533, 6, 0, 65534, 6, 0, 65535, 6, 0, 131075, 6, 0, 196603, 6, 0, 0, 7, 0, 1, 7, 0, 2, 7, 1610612736, 3, 7, 0, 4, 7, 0, 65530, 7, 0, 65531, 7, 0, 65532, 7, 0, 65533, 7, 0, 65534, 7, 0, 65535, 7, 0, 131075, 7, 0, 196603, 7, 0, 0, 8, 0, 1, 8, 0, 2, 8, -536870912, 3, 8, 0, 4, 8, 0, 65530, 8, 0, 65531, 8, 0, 65532, 8, 0, 65533, 8, 0, 65534, 8, 536870912, 65535, 8, 0, 131075, 8, -536870912, 196603, 8, 0, 196604, 8, 0, 0, 9, 0, 1, 9, 0, 2, 9, 0, 3, 9, 536870912, 4, 9, 0, 65530, 9, 0, 65531, 9, 0, 65532, 9, 0, 65533, 9, -536870912, 65534, 9, 0, 65535, 9, 0, 131073, 9, 0, 131074, 9, 0, 131075, 9, 0, 196603, 9, 0, 196604, 9, 0, 196605, 9, 0, 196608, 9, 0, 262142, 9, 536870912, 0, 10, -536870912, 1, 10, 0, 2, 10, -536870912, 3, 10, 536870912, 4, 10, 0, 65530, 10, 0, 65531, 10, 0, 65532, 10, 536870912, 65533, 10, 0, 65534, 10, 0, 65535, 10, 0, 0, 11, 536870912, 1, 11, 0, 2, 11, -536870912, 3, 11, 0, 4, 11, 0, 65530, 11, -536870912, 65531, 11, 0, 65532, 11, -536870912, 65533, 11, -536870912, 65534, 11, -536870912, 65535, 11, 0, 0, 65532, 536870912, 1, 65532, 0, 2, 65532, 0, 3, 65532, 0, 4, 65532, 0, 65530, 65532, 0, 65531, 65532, 0, 65532, 65532, 0, 65533, 65532, 0, 65534, 65532, 0, 65535, 65532, 0, 0, 65533, 0, 1, 65533, 0, 2, 65533, 0, 3, 65533, 0, 4, 65533, 0, 65530, 65533, 0, 65531, 65533, 0, 65532, 65533, 0, 65533, 65533, 0, 65534, 65533, 1073741824, 65535, 65533, 536870912, 262145, 65533, 0, 262146, 65533, 0, 262147, 65533, 0, 589822, 65533, 0, 589823, 65533, 0, 655363, 65533, 0, 655364, 65533, 0, 720897, 65533, 0, 720898, 65533, 0, 786432, 65533, 0, 851967, 65533, 0, 0, 65534, 0, 1, 65534, 536870912, 2, 65534, 0, 3, 65534, 0, 4, 65534, 0, 65530, 65534, 0, 65531, 65534, 0, 65532, 65534, 0, 65533, 65534, 0, 65534, 65534, 0, 65535, 65534, 0, 65536, 65534, 0, 131071, 65534, 0, 196603, 65534, 0, 196604, 65534, 0, 196605, 65534, 0, 196606, 65534, 0, 196607, 65534, 0, 589822, 65534, 0, 589828, 65534, 0, 786432, 65534, 0, 851967, 65534, 0, 0, 65535, 0, 1, 65535, 1073741824, 2, 65535, 0, 3, 65535, 0, 4, 65535, 0, 65530, 65535, 0, 65531, 65535, 0, 65532, 65535, 0, 65533, 65535, 0, 65534, 65535, 0, 65535, 65535, 1073741824, 196603, 65535, 0, 196604, 65535, 0, 196611, 65535, 0, 589820, 65535, 0, 589821, 65535, 0, 589822, 65535, 0, 589828, 65535, 0, 786432, 65535, 0, 851967, 65535, 0 ) } __meta__ = { "_editor_clip_": 0, @@ -197,94 +173,60 @@ directional_shadow_normal_bias = 0.2 [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource( 2 ) -[node name="cubio" type="KinematicBody" parent="."] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3.55862, 4.51999, 8.01683 ) -script = ExtResource( 2 ) +[node name="Cubio" parent="." instance=ExtResource( 2 )] -[node name="cube" type="MeshInstance" parent="cubio"] -_import_path = NodePath("cube-col") -transform = Transform( 0.95, 0, 0, 0, 0.95, 0, 0, 0, 0.95, 0, 0, 0 ) -mesh = SubResource( 4 ) -material/0 = null - -[node name="CollisionShape" type="CollisionShape" parent="cubio"] -transform = Transform( 0.95, 0, 0, 0, -4.15258e-08, -0.95, 0, 0.95, -4.15258e-08, 0, 0, 0 ) -shape = SubResource( 5 ) - -[node name="target" type="Spatial" parent="cubio"] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.85165, 0 ) - -[node name="camera" type="Camera" parent="cubio/target"] -transform = Transform( 0.00880322, -0.305732, 0.952077, 0.00282677, 0.952118, 0.305719, -0.999957, 0, 0.00924594, 4.23538, 1.00622, 0.120926 ) -fov = 74.0 -near = 0.1 -script = ExtResource( 4 ) - -[node name="elevator1" type="KinematicBody" parent="."] +[node name="Elevator1" type="KinematicBody" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 9, -5 ) input_capture_on_drag = true -[node name="mesh" type="MeshInstance" parent="elevator1"] -mesh = SubResource( 7 ) +[node name="Mesh" type="MeshInstance" parent="Elevator1"] +mesh = SubResource( 4 ) material/0 = null -[node name="CollisionShape" type="CollisionShape" parent="elevator1"] -shape = SubResource( 8 ) +[node name="CollisionShape" type="CollisionShape" parent="Elevator1"] +shape = SubResource( 5 ) -[node name="anim" type="AnimationPlayer" parent="elevator1"] +[node name="AnimationPlayer" type="AnimationPlayer" parent="Elevator1"] autoplay = "updown1" playback_process_mode = 0 -anims/updown1 = SubResource( 9 ) +anims/updown1 = SubResource( 6 ) -[node name="elevator 2" type="KinematicBody" parent="."] +[node name="Elevator2" type="KinematicBody" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.75394, 17, 9 ) -[node name="mesh" type="MeshInstance" parent="elevator 2"] -mesh = SubResource( 7 ) +[node name="Mesh" type="MeshInstance" parent="Elevator2"] +mesh = SubResource( 4 ) material/0 = null -[node name="CollisionShape" type="CollisionShape" parent="elevator 2"] -shape = SubResource( 8 ) +[node name="CollisionShape" type="CollisionShape" parent="Elevator2"] +shape = SubResource( 5 ) -[node name="anim" type="AnimationPlayer" parent="elevator 2"] +[node name="AnimationPlayer" type="AnimationPlayer" parent="Elevator2"] autoplay = "side" playback_process_mode = 0 -anims/side = SubResource( 10 ) -anims/updown1 = SubResource( 9 ) +anims/side = SubResource( 7 ) +anims/updown1 = SubResource( 6 ) -[node name="tcube" type="Area" parent="."] +[node name="Princess" type="Area" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 26.5054, 5.89978 ) -[node name="Cube" type="MeshInstance" parent="tcube"] +[node name="Mushroom" type="MeshInstance" parent="Princess"] _import_path = NodePath("Cube") transform = Transform( -0.0250225, 0, 0.508718, 0, 0.509334, 0, -0.508718, 0, -0.0250225, 0, 0, 0 ) use_in_baked_light = true -mesh = SubResource( 14 ) +mesh = SubResource( 11 ) material/0 = null material/1 = null material/2 = null -[node name="CollisionShape" type="CollisionShape" parent="tcube"] -shape = SubResource( 15 ) - -[node name="ty" type="Node2D" parent="."] -visible = false -position = Vector2( 60.3769, 30.3697 ) -scale = Vector2( 2.10575, 2.16206 ) - -[node name="thankyou" type="Label" parent="ty"] -margin_left = 5.0 -margin_top = -1.0 -margin_right = 325.0 -margin_bottom = 12.0 -size_flags_horizontal = 2 -size_flags_vertical = 0 -text = "Thank You, Cubio! But the Princess is in Another Demo!" +[node name="CollisionShape" type="CollisionShape" parent="Princess"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 ) +shape = SubResource( 12 ) [node name="GIProbe" type="GIProbe" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 15.4801, 6.6614 ) extents = Vector3( 13.6076, 16.5391, 19.9349 ) propagation = 1.0 bias = 1.8 -data = SubResource( 16 ) -[connection signal="body_entered" from="tcube" to="cubio" method="_on_tcube_body_enter"] +data = SubResource( 13 ) +[connection signal="body_entered" from="Princess" to="Cubio" method="_on_tcube_body_entered"] diff --git a/3d/kinematic_character/project.godot b/3d/kinematic_character/project.godot index 03e21c39..92e127cd 100644 --- a/3d/kinematic_character/project.godot +++ b/3d/kinematic_character/project.godot @@ -33,21 +33,30 @@ jump={ move_backwards={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null) ] } move_forward={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null) ] } move_left={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null) ] } move_right={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null) + ] +} +reset_position={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":82,"unicode":0,"echo":false,"script":null) ] } diff --git a/3d/kinematic_character/purplecube.tscn b/3d/kinematic_character/purplecube.tscn index 0b2603d0..ddd5b46a 100644 --- a/3d/kinematic_character/purplecube.tscn +++ b/3d/kinematic_character/purplecube.tscn @@ -1,12 +1,11 @@ [gd_scene load_steps=4 format=2] -[sub_resource type="SpatialMaterial" id=3] +[sub_resource type="SpatialMaterial" id=1] resource_name = "Material" params_diffuse_mode = 1 roughness = 0.0 -[sub_resource type="ArrayMesh" id=1] -resource_name = "Cube" +[sub_resource type="ArrayMesh" id=2] surfaces/0 = { "aabb": AABB( -1, -1, -1, 2, 2, 2 ), "array_data": PoolByteArray( 147, 59, 147, 59, 255, 187, 0, 60, 43, 43, 145, 0, 201, 59, 194, 38, 147, 59, 147, 187, 255, 187, 0, 60, 43, 213, 145, 0, 201, 59, 201, 59, 147, 187, 147, 187, 0, 188, 0, 60, 213, 213, 145, 0, 194, 38, 201, 59, 147, 187, 147, 59, 0, 188, 0, 60, 213, 43, 145, 0, 194, 38, 194, 38, 147, 59, 147, 187, 0, 60, 0, 60, 43, 213, 111, 0, 201, 59, 201, 59, 147, 59, 147, 59, 0, 60, 0, 60, 43, 43, 111, 0, 201, 59, 194, 38, 147, 187, 147, 59, 255, 59, 0, 60, 213, 43, 111, 0, 194, 38, 194, 38, 147, 187, 147, 187, 255, 59, 0, 60, 213, 213, 111, 0, 194, 38, 201, 59, 0, 188, 147, 187, 147, 59, 0, 60, 145, 213, 43, 0, 194, 38, 201, 59, 0, 188, 147, 59, 147, 59, 0, 60, 145, 43, 43, 0, 194, 38, 194, 38, 255, 187, 147, 59, 147, 187, 0, 60, 145, 43, 213, 0, 201, 59, 194, 38, 255, 187, 147, 187, 147, 187, 0, 60, 145, 213, 213, 0, 201, 59, 201, 59, 147, 59, 0, 60, 147, 187, 0, 60, 43, 111, 213, 0, 201, 59, 194, 38, 147, 187, 0, 60, 147, 187, 0, 60, 213, 111, 213, 0, 194, 38, 194, 38, 147, 187, 0, 60, 147, 59, 0, 60, 213, 111, 43, 0, 194, 38, 201, 59, 147, 59, 0, 60, 147, 59, 0, 60, 43, 111, 43, 0, 201, 59, 201, 59, 0, 60, 147, 187, 147, 187, 0, 60, 111, 213, 213, 0, 201, 59, 201, 59, 0, 60, 147, 59, 147, 187, 0, 60, 111, 43, 213, 0, 201, 59, 194, 38, 255, 59, 147, 59, 147, 59, 0, 60, 111, 43, 43, 0, 194, 38, 194, 38, 0, 60, 147, 187, 147, 59, 0, 60, 111, 213, 43, 0, 194, 38, 201, 59, 147, 59, 147, 187, 255, 187, 0, 60, 43, 213, 145, 0, 201, 59, 0, 60, 0, 60, 147, 187, 147, 187, 0, 60, 111, 213, 213, 0, 0, 60, 27, 60, 147, 59, 0, 188, 147, 187, 0, 60, 43, 145, 213, 0, 201, 59, 27, 60, 147, 59, 0, 188, 147, 59, 0, 60, 43, 145, 43, 0, 201, 59, 201, 59, 0, 60, 147, 187, 147, 59, 0, 60, 111, 213, 43, 0, 0, 60, 201, 59, 147, 59, 147, 187, 0, 60, 0, 60, 43, 213, 111, 0, 201, 59, 0, 60, 147, 187, 0, 188, 147, 59, 0, 60, 213, 145, 43, 0, 194, 38, 201, 59, 147, 187, 147, 187, 255, 59, 0, 60, 213, 213, 111, 0, 194, 38, 255, 59, 0, 188, 147, 187, 147, 59, 0, 60, 145, 213, 43, 0, 0, 0, 201, 59, 255, 187, 147, 187, 147, 187, 0, 60, 145, 213, 213, 0, 0, 0, 194, 38, 147, 187, 147, 187, 0, 188, 0, 60, 213, 213, 145, 0, 194, 38, 0, 0, 147, 187, 0, 188, 147, 187, 0, 60, 213, 145, 213, 0, 194, 38, 194, 38, 0, 60, 147, 59, 147, 187, 0, 60, 111, 43, 213, 0, 0, 0, 194, 38, 147, 59, 147, 59, 255, 187, 0, 60, 43, 43, 145, 0, 194, 166, 0, 0, 147, 59, 0, 60, 147, 187, 0, 60, 43, 111, 213, 0, 194, 166, 194, 38, 147, 59, 0, 60, 147, 59, 0, 60, 43, 111, 43, 0, 201, 59, 0, 60, 147, 59, 147, 59, 0, 60, 0, 60, 43, 43, 111, 0, 201, 59, 27, 60, 255, 59, 147, 59, 147, 59, 0, 60, 111, 43, 43, 0, 255, 59, 27, 60, 0, 188, 147, 59, 147, 59, 0, 60, 145, 43, 43, 0, 0, 0, 201, 59, 147, 187, 147, 59, 255, 59, 0, 60, 213, 43, 111, 0, 194, 38, 255, 59, 147, 187, 147, 59, 0, 188, 0, 60, 213, 43, 145, 0, 194, 38, 0, 60, 255, 187, 147, 59, 147, 187, 0, 60, 145, 43, 213, 0, 0, 0, 27, 60, 147, 187, 0, 60, 147, 187, 0, 60, 213, 111, 213, 0, 194, 38, 27, 60, 0, 60, 147, 187, 147, 187, 0, 60, 111, 213, 213, 0, 0, 0, 194, 38, 0, 60, 147, 187, 147, 59, 0, 60, 111, 213, 43, 0, 0, 0, 201, 59, 147, 59, 0, 188, 147, 59, 0, 60, 43, 145, 43, 0, 194, 166, 201, 59, 147, 59, 0, 188, 147, 187, 0, 60, 43, 145, 213, 0, 194, 166, 194, 38, 147, 59, 147, 187, 255, 187, 0, 60, 43, 213, 145, 0, 201, 59, 0, 0, 147, 59, 0, 188, 147, 187, 0, 60, 43, 145, 213, 0, 201, 59, 194, 38, 0, 60, 147, 59, 147, 187, 0, 60, 111, 43, 213, 0, 0, 60, 194, 38, 0, 60, 147, 187, 147, 187, 0, 60, 111, 213, 213, 0, 0, 60, 201, 59, 255, 59, 147, 59, 147, 59, 0, 60, 111, 43, 43, 0, 0, 0, 194, 38, 147, 59, 147, 59, 0, 60, 0, 60, 43, 43, 111, 0, 194, 166, 194, 38, 147, 59, 147, 187, 0, 60, 0, 60, 43, 213, 111, 0, 194, 166, 201, 59, 147, 187, 0, 188, 147, 187, 0, 60, 213, 145, 213, 0, 201, 59, 0, 60, 147, 187, 0, 188, 147, 59, 0, 60, 213, 145, 43, 0, 194, 38, 0, 60, 0, 188, 147, 59, 147, 59, 0, 60, 145, 43, 43, 0, 0, 0, 194, 38, 0, 188, 147, 187, 147, 59, 0, 60, 145, 213, 43, 0, 0, 0, 201, 59, 255, 187, 147, 187, 147, 187, 0, 60, 145, 213, 213, 0, 0, 0, 201, 59, 255, 187, 147, 59, 147, 187, 0, 60, 145, 43, 213, 0, 0, 0, 194, 38, 255, 59, 147, 59, 147, 59, 0, 60, 111, 43, 43, 0, 255, 59, 201, 59, 0, 60, 147, 59, 147, 187, 0, 60, 111, 43, 213, 0, 0, 60, 194, 38, 147, 59, 147, 59, 255, 187, 0, 60, 43, 43, 145, 0, 201, 59, 0, 0, 147, 187, 147, 59, 0, 188, 0, 60, 213, 43, 145, 0, 194, 38, 0, 0, 147, 59, 147, 59, 0, 60, 0, 60, 43, 43, 111, 0, 201, 59, 0, 60 ), @@ -14,44 +13,42 @@ surfaces/0 = { "blend_shape_data": [ ], "format": 98067, "index_count": 132, -"material": SubResource( 3 ), +"material": SubResource( 1 ), "name": "Material", "primitive": 4, "skeleton_aabb": [ ], "vertex_count": 65 } -[sub_resource type="ConcavePolygonShape" id=2] -data = PoolVector3Array( 0.9472, 0.9472, -0.9999, -0.9471, -0.9471, -0.9999, 0.9472, -0.9471, -0.9999, 0.9472, 0.9472, -0.9999, -0.9471, 0.9472, -0.9999, -0.9471, -0.9471, -0.9999, 0.9472, -0.9471, 1, -0.9471, 0.9472, 1, 0.9472, 0.9472, 1, 0.9472, -0.9471, 1, -0.9471, -0.9471, 1, -0.9471, 0.9472, 1, -0.9999, -0.9471, 0.9472, -0.9999, 0.9472, -0.9471, -0.9999, 0.9472, 0.9472, -0.9999, -0.9471, 0.9472, -0.9999, -0.9471, -0.9471, -0.9999, 0.9472, -0.9471, 0.9472, 1, -0.9471, -0.9471, 1, 0.9472, -0.9471, 1, -0.9471, 0.9472, 1, -0.9471, 0.9472, 1, 0.9472, -0.9471, 1, 0.9472, 1, -0.9471, -0.9471, 1, 0.9472, 0.9472, 1, 0.9472, -0.9471, 1, -0.9471, -0.9471, 1, -0.9471, 0.9472, 1, 0.9472, 0.9472, 0.9472, -0.9471, -0.9999, 0.9472, -0.9999, -0.9471, 1, -0.9471, -0.9471, 0.9472, -0.9999, 0.9472, 0.9472, -0.9471, 1, 1, -0.9471, 0.9472, -0.9471, -0.9999, 0.9472, -0.9999, -0.9471, 0.9472, -0.9471, -0.9471, 1, -0.9999, -0.9471, -0.9471, -0.9471, -0.9999, -0.9471, -0.9471, -0.9471, -0.9999, 1, 0.9472, -0.9471, 0.9472, 1, -0.9471, 0.9472, 0.9472, -0.9999, 0.9472, 1, 0.9472, 1, 0.9472, 0.9472, 0.9472, 0.9472, 1, -0.9471, 1, 0.9472, -0.9471, 0.9472, 1, -0.9999, 0.9472, 0.9472, -0.9471, 0.9472, -0.9999, -0.9471, 1, -0.9471, -0.9999, 0.9472, -0.9471, 1, -0.9471, -0.9471, 0.9472, -0.9999, 0.9472, 1, -0.9471, 0.9472, 1, -0.9471, -0.9471, 0.9472, -0.9999, -0.9471, 0.9472, -0.9999, 0.9472, -0.9471, -0.9471, -0.9999, 0.9472, -0.9999, -0.9471, 0.9472, -0.9471, -0.9999, -0.9471, -0.9471, -0.9999, -0.9471, -0.9999, -0.9471, 0.9472, -0.9999, -0.9471, 0.9472, -0.9471, -0.9999, 1, 0.9472, -0.9471, 0.9472, 0.9472, -0.9999, 0.9472, -0.9471, -0.9999, 1, -0.9471, -0.9471, 1, 0.9472, -0.9471, 0.9472, -0.9471, 1, -0.9471, -0.9999, 0.9472, -0.9471, -0.9471, 1, 0.9472, -0.9471, 1, 0.9472, -0.9999, 0.9472, -0.9471, -0.9999, 0.9472, 1, -0.9471, 0.9472, 0.9472, 0.9472, 1, 1, 0.9472, 0.9472, 1, -0.9471, 0.9472, 0.9472, -0.9471, 1, 0.9472, 0.9472, 1, -0.9999, -0.9471, 0.9472, -0.9471, -0.9999, -0.9471, -0.9999, -0.9471, -0.9471, -0.9999, -0.9471, 0.9472, -0.9471, -0.9999, 0.9472, -0.9471, -0.9999, -0.9471, -0.9471, -0.9471, 1, -0.9999, 0.9472, 0.9472, -0.9471, 0.9472, 1, -0.9471, -0.9471, 1, -0.9999, -0.9471, 0.9472, -0.9999, 0.9472, 0.9472, -0.9999, -0.9471, -0.9471, -0.9471, 0.9472, -0.9999, -0.9999, 0.9472, -0.9471, -0.9999, -0.9471, -0.9471, -0.9471, -0.9471, -0.9999, -0.9471, 0.9472, -0.9999, 0.9472, 1, -0.9471, 1, 0.9472, 0.9472, 0.9472, 1, 0.9472, 0.9472, 1, -0.9471, 1, 0.9472, -0.9471, 1, 0.9472, 0.9472, 0.9472, 0.9472, -0.9999, -0.9471, 1, -0.9471, -0.9471, 0.9472, -0.9999, 0.9472, 0.9472, -0.9999, 0.9472, 1, -0.9471, -0.9471, 1, -0.9471, 0.9472, 1, 0.9472, -0.9471, 0.9472, 1, -0.9471, 1, 0.9472, 0.9472, 1, 0.9472, 0.9472, 0.9472, 1, -0.9471, 0.9472, 1, -0.9471, 1, 0.9472, -0.9999, 0.9472, -0.9471, -0.9471, 1, -0.9471, -0.9471, 1, 0.9472, -0.9999, 0.9472, 0.9472, -0.9999, 0.9472, -0.9471, 0.9472, -0.9999, -0.9471, -0.9471, -0.9999, 0.9472, 0.9472, -0.9999, 0.9472, 0.9472, -0.9999, -0.9471, -0.9471, -0.9999, -0.9471, -0.9471, -0.9999, 0.9472 ) +[sub_resource type="ConvexPolygonShape" id=3] +points = PoolVector3Array( 0.946777, 0.946777, -0.999512, 0.946777, -0.946777, -0.999512, -0.946777, -0.946777, -1, -0.946777, 0.946777, -1, 0.946777, -0.946777, 1, 0.946777, 0.946777, 1, -0.946777, 0.946777, 0.999512, -0.946777, -0.946777, 0.999512, -1, -0.946777, 0.946777, -1, 0.946777, 0.946777, -0.999512, 0.946777, -0.946777, -0.999512, -0.946777, -0.946777, 0.946777, 1, -0.946777, -0.946777, 1, -0.946777, -0.946777, 1, 0.946777, 0.946777, 1, 0.946777, 1, -0.946777, -0.946777, 1, 0.946777, -0.946777, 0.999512, 0.946777, 0.946777, 1, -0.946777, 0.946777, 0.946777, -0.946777, -0.999512, 1, -0.946777, -0.946777, 0.946777, -1, -0.946777, 0.946777, -1, 0.946777, 1, -0.946777, 0.946777, 0.946777, -0.946777, 1, -0.946777, -1, 0.946777, -0.946777, -0.946777, 0.999512, -1, -0.946777, 0.946777, -0.999512, -0.946777, -0.946777, -0.946777, -0.946777, -1, -0.946777, -1, -0.946777, 1, 0.946777, -0.946777, 0.946777, 0.946777, -0.999512, 0.946777, 1, -0.946777, 0.946777, 1, 0.946777, 0.946777, 0.946777, 1, 0.999512, 0.946777, 0.946777, -1, 0.946777, 0.946777, -0.946777, 0.946777, 0.999512, -0.946777, 0.946777, -1, -0.999512, 0.946777, -0.946777, -0.946777, 1, -0.946777, 1, -0.946777, -0.946777, 1, -0.946777, 0.946777, 0.946777, -1, 0.946777, 0.946777, -1, -0.946777, 0.946777, -0.946777, -0.999512, 0.946777, -1, -0.946777, 1, 0.946777, -0.946777, 1, -0.946777, -0.946777, 0.999512, 0.946777, 0.946777, 0.946777, 0.946777, 1, 0.946777, -0.946777, 1, -0.946777, -1, -0.946777, -0.946777, -1, 0.946777, -1, 0.946777, 0.946777, -1, -0.946777, 0.946777, -0.999512, -0.946777, -0.946777, -0.999512, 0.946777, -0.946777, 0.999512, 0.946777, 0.946777, 1, 0.946777, -0.946777, 0.946777, 0.946777, -0.999512, -0.946777, 0.946777, -1, 0.946777, 0.946777, 1 ) [node name="Spatial" type="Spatial"] -_import_path = NodePath(".:") +_import_path = NodePath(".") __meta__ = { "__editor_plugin_screen__": "3D" } -[node name="cube" type="MeshInstance" parent="."] -_import_path = NodePath("cube-col:") +[node name="Cube" type="MeshInstance" parent="."] +_import_path = NodePath("cube-col") use_in_baked_light = true -mesh = SubResource( 1 ) -skeleton = NodePath("..:") +mesh = SubResource( 2 ) material/0 = null -[node name="col" type="StaticBody" parent="cube"] +[node name="StaticBody" type="StaticBody" parent="Cube"] -[node name="shape" type="CollisionShape" parent="cube/col"] -shape = SubResource( 2 ) +[node name="CollisionShape" type="CollisionShape" parent="Cube/StaticBody"] +shape = SubResource( 3 ) [node name="Lamp" type="OmniLight" parent="."] -_import_path = NodePath("Lamp:") +_import_path = NodePath("Lamp") transform = Transform( -0.290865, -0.771101, 0.566393, -0.0551891, 0.604525, 0.794672, -0.955171, 0.199883, -0.218391, 4.07625, 5.90386, -1.00545 ) [node name="Camera" type="Camera" parent="."] -_import_path = NodePath("Camera:") +_import_path = NodePath("Camera") transform = Transform( 0.685881, -0.31737, 0.654862, -0.0108168, 0.895343, 0.445245, -0.727634, -0.312469, 0.610666, 7.48113, 5.34367, 6.50764 ) fov = 49.1343 near = 0.1 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] -_import_path = NodePath("AnimationPlayer:") -root_node = NodePath("..:") +_import_path = NodePath("AnimationPlayer")