|
@@ -1,4 +1,4 @@
|
|
|
-[gd_scene load_steps=28 format=2]
|
|
|
+[gd_scene load_steps=26 format=2]
|
|
|
|
|
|
[ext_resource path="res://addons/sade/editor_gizmo_texture.png" type="Texture" id=1]
|
|
|
[ext_resource path="res://button_change_scene.gd" type="Script" id=2]
|
|
@@ -10,9 +10,9 @@
|
|
|
[ext_resource path="res://fps/weapon_pistol.dae" type="PackedScene" id=8]
|
|
|
[ext_resource path="res://fps/gun_color.tres" type="Material" id=9]
|
|
|
[ext_resource path="res://fps/gun_emission.tres" type="Material" id=10]
|
|
|
-[ext_resource path="res://godot_battle_bot.dae" type="PackedScene" id=11]
|
|
|
-[ext_resource path="res://battle_bot_color.tres" type="Material" id=12]
|
|
|
-[ext_resource path="res://battle_bot_emission.tres" type="Material" id=13]
|
|
|
+[ext_resource path="res://model/godot_battle_bot.dae" type="PackedScene" id=11]
|
|
|
+[ext_resource path="res://model/battle_bot_color.tres" type="Material" id=12]
|
|
|
+[ext_resource path="res://model/battle_bot_emission.tres" type="Material" id=13]
|
|
|
|
|
|
[sub_resource type="PlaneMesh" id=1]
|
|
|
size = Vector2( 40, 40 )
|
|
@@ -42,42 +42,19 @@ albedo_color = Color( 0, 0.882813, 1, 1 )
|
|
|
albedo_texture = ExtResource( 1 )
|
|
|
uv1_triplanar = true
|
|
|
|
|
|
-[sub_resource type="ProceduralSky" id=8]
|
|
|
-sky_top_color = Color( 0.0470588, 0.454902, 0.976471, 1 )
|
|
|
-sky_horizon_color = Color( 0.556863, 0.823529, 0.909804, 1 )
|
|
|
-sky_curve = 0.25
|
|
|
-ground_bottom_color = Color( 0.101961, 0.145098, 0.188235, 1 )
|
|
|
-ground_horizon_color = Color( 0.482353, 0.788235, 0.952941, 1 )
|
|
|
-ground_curve = 0.01
|
|
|
-
|
|
|
-[sub_resource type="Environment" id=9]
|
|
|
-background_mode = 2
|
|
|
-background_sky = SubResource( 8 )
|
|
|
-ambient_light_color = Color( 1, 0.909804, 0.784314, 1 )
|
|
|
-ambient_light_energy = 1.4
|
|
|
-ambient_light_sky_contribution = 0.72
|
|
|
-tonemap_mode = 3
|
|
|
-glow_enabled = true
|
|
|
-glow_levels/1 = true
|
|
|
-glow_levels/2 = true
|
|
|
-glow_levels/5 = false
|
|
|
-glow_intensity = 0.2
|
|
|
-glow_bloom = 0.03
|
|
|
-glow_blend_mode = 0
|
|
|
-
|
|
|
-[sub_resource type="CapsuleShape" id=10]
|
|
|
+[sub_resource type="CapsuleShape" id=8]
|
|
|
radius = 4.0
|
|
|
height = 6.0
|
|
|
|
|
|
-[sub_resource type="Curve3D" id=11]
|
|
|
+[sub_resource type="Curve3D" id=9]
|
|
|
_data = {
|
|
|
"points": PoolVector3Array( 0, 0, 0, 0, 0, 0, -2.43129, -0.955339, 0, 0, 0, 0, 0, 0, 0, -0.670561, 0.183959, 0, 0, 0, 0, 0, 0, 0, 0.64629, 0.228347, 0, 0, 0, 0, 0, 0, 0, 2.31825, -0.925747, 0 ),
|
|
|
"tilts": PoolRealArray( 0, 0, 0, 0 )
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="Animation" id=12]
|
|
|
+[sub_resource type="Animation" id=10]
|
|
|
tracks/0/type = "value"
|
|
|
-tracks/0/path = NodePath("Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos:translation")
|
|
|
+tracks/0/path = NodePath("LeanPath/PathFollow/IK_LookAt_Chest/AimPos:translation")
|
|
|
tracks/0/interp = 1
|
|
|
tracks/0/loop_wrap = true
|
|
|
tracks/0/imported = false
|
|
@@ -89,7 +66,7 @@ tracks/0/keys = {
|
|
|
"values": [ Vector3( 0.570504, -2.2654, 2.93826 ), Vector3( 0, -1.36445, 3.78817 ) ]
|
|
|
}
|
|
|
tracks/1/type = "value"
|
|
|
-tracks/1/path = NodePath("Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos:rotation_degrees")
|
|
|
+tracks/1/path = NodePath("LeanPath/PathFollow/IK_LookAt_Chest/AimPos:rotation_degrees")
|
|
|
tracks/1/interp = 1
|
|
|
tracks/1/loop_wrap = true
|
|
|
tracks/1/imported = false
|
|
@@ -101,7 +78,7 @@ tracks/1/keys = {
|
|
|
"values": [ Vector3( 0, -2, 0 ), Vector3( 0, 0, 0 ) ]
|
|
|
}
|
|
|
tracks/2/type = "value"
|
|
|
-tracks/2/path = NodePath("Lean_Path/PathFollow/IK_LookAt_Chest/Camera:fov")
|
|
|
+tracks/2/path = NodePath("LeanPath/PathFollow/IK_LookAt_Chest/Camera:fov")
|
|
|
tracks/2/interp = 1
|
|
|
tracks/2/loop_wrap = true
|
|
|
tracks/2/imported = false
|
|
@@ -113,9 +90,9 @@ tracks/2/keys = {
|
|
|
"values": [ 80.0, 60.0 ]
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="Animation" id=13]
|
|
|
+[sub_resource type="Animation" id=11]
|
|
|
tracks/0/type = "value"
|
|
|
-tracks/0/path = NodePath("Lean_Path/PathFollow/IK_LookAt_Chest/Camera:fov")
|
|
|
+tracks/0/path = NodePath("LeanPath/PathFollow/IK_LookAt_Chest/Camera:fov")
|
|
|
tracks/0/interp = 1
|
|
|
tracks/0/loop_wrap = true
|
|
|
tracks/0/imported = false
|
|
@@ -127,7 +104,7 @@ tracks/0/keys = {
|
|
|
"values": [ 60.0, 80.0 ]
|
|
|
}
|
|
|
tracks/1/type = "value"
|
|
|
-tracks/1/path = NodePath("Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos:translation")
|
|
|
+tracks/1/path = NodePath("LeanPath/PathFollow/IK_LookAt_Chest/AimPos:translation")
|
|
|
tracks/1/interp = 1
|
|
|
tracks/1/loop_wrap = true
|
|
|
tracks/1/imported = false
|
|
@@ -139,7 +116,7 @@ tracks/1/keys = {
|
|
|
"values": [ Vector3( 0, -1.36445, 3.78817 ), Vector3( 0.570504, -2.2654, 2.93826 ) ]
|
|
|
}
|
|
|
tracks/2/type = "value"
|
|
|
-tracks/2/path = NodePath("Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos:rotation_degrees")
|
|
|
+tracks/2/path = NodePath("LeanPath/PathFollow/IK_LookAt_Chest/AimPos:rotation_degrees")
|
|
|
tracks/2/interp = 1
|
|
|
tracks/2/loop_wrap = true
|
|
|
tracks/2/imported = false
|
|
@@ -151,9 +128,9 @@ tracks/2/keys = {
|
|
|
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, -2, 0 ) ]
|
|
|
}
|
|
|
|
|
|
-[sub_resource type="Animation" id=14]
|
|
|
+[sub_resource type="Animation" id=12]
|
|
|
tracks/0/type = "value"
|
|
|
-tracks/0/path = NodePath("Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos:translation")
|
|
|
+tracks/0/path = NodePath("LeanPath/PathFollow/IK_LookAt_Chest/AimPos:translation")
|
|
|
tracks/0/interp = 1
|
|
|
tracks/0/loop_wrap = true
|
|
|
tracks/0/imported = false
|
|
@@ -165,7 +142,7 @@ tracks/0/keys = {
|
|
|
"values": [ Vector3( 0.570504, -2.2654, 2.93826 ) ]
|
|
|
}
|
|
|
tracks/1/type = "value"
|
|
|
-tracks/1/path = NodePath("Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos:rotation_degrees")
|
|
|
+tracks/1/path = NodePath("LeanPath/PathFollow/IK_LookAt_Chest/AimPos:rotation_degrees")
|
|
|
tracks/1/interp = 1
|
|
|
tracks/1/loop_wrap = true
|
|
|
tracks/1/imported = false
|
|
@@ -177,7 +154,7 @@ tracks/1/keys = {
|
|
|
"values": [ Vector3( 0, -2, 0 ) ]
|
|
|
}
|
|
|
tracks/2/type = "value"
|
|
|
-tracks/2/path = NodePath("Lean_Path/PathFollow/IK_LookAt_Chest/Camera:fov")
|
|
|
+tracks/2/path = NodePath("LeanPath/PathFollow/IK_LookAt_Chest/Camera:fov")
|
|
|
tracks/2/interp = 1
|
|
|
tracks/2/loop_wrap = true
|
|
|
tracks/2/imported = false
|
|
@@ -189,18 +166,18 @@ tracks/2/keys = {
|
|
|
"values": [ 80.0 ]
|
|
|
}
|
|
|
|
|
|
-[node name="LookAt_IK" type="Spatial"]
|
|
|
+[node name="FPSExample" type="Spatial"]
|
|
|
|
|
|
[node name="Level" type="Spatial" parent="."]
|
|
|
|
|
|
-[node name="Floor_plane" type="MeshInstance" parent="Level"]
|
|
|
+[node name="Floor" type="MeshInstance" parent="Level"]
|
|
|
transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0 )
|
|
|
mesh = SubResource( 1 )
|
|
|
material/0 = SubResource( 2 )
|
|
|
|
|
|
-[node name="StaticBody" type="StaticBody" parent="Level/Floor_plane"]
|
|
|
+[node name="StaticBody" type="StaticBody" parent="Level/Floor"]
|
|
|
|
|
|
-[node name="CollisionShape" type="CollisionShape" parent="Level/Floor_plane/StaticBody"]
|
|
|
+[node name="CollisionShape" type="CollisionShape" parent="Level/Floor/StaticBody"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.956119, 0 )
|
|
|
shape = SubResource( 3 )
|
|
|
|
|
@@ -401,9 +378,6 @@ transform = Transform( 0.388878, -0.754027, 0.529355, 0, 0.574581, 0.818448, -0.
|
|
|
light_color = Color( 1, 0.925598, 0.820313, 1 )
|
|
|
shadow_enabled = true
|
|
|
|
|
|
-[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
|
-environment = SubResource( 9 )
|
|
|
-
|
|
|
[node name="Control" type="Control" parent="."]
|
|
|
anchor_right = 1.0
|
|
|
anchor_bottom = 1.0
|
|
@@ -430,7 +404,7 @@ Escape to free/lock mouse cursor"
|
|
|
align = 1
|
|
|
valign = 1
|
|
|
|
|
|
-[node name="Button_Prev" type="Button" parent="Control"]
|
|
|
+[node name="ButtonPrev" type="Button" parent="Control"]
|
|
|
anchor_top = 1.0
|
|
|
anchor_bottom = 1.0
|
|
|
margin_left = 10.0
|
|
@@ -439,7 +413,10 @@ margin_right = 129.0
|
|
|
margin_bottom = -10.0
|
|
|
text = "Previous scene"
|
|
|
script = ExtResource( 2 )
|
|
|
-scene_to_change_to = "res://fabrik_ik.tscn"
|
|
|
+__meta__ = {
|
|
|
+"_edit_use_anchors_": false
|
|
|
+}
|
|
|
+scene_to_change_to = "res://skeleton_ik.tscn"
|
|
|
|
|
|
[node name="Crosshair" type="Control" parent="Control"]
|
|
|
modulate = Color( 1, 1, 1, 0.784314 )
|
|
@@ -475,173 +452,129 @@ script = ExtResource( 3 )
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="KinematicBody"]
|
|
|
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 7, 0 )
|
|
|
-shape = SubResource( 10 )
|
|
|
+shape = SubResource( 8 )
|
|
|
|
|
|
[node name="CameraHolder" type="Spatial" parent="KinematicBody"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 13, 0 )
|
|
|
|
|
|
-[node name="Lean_Path" type="Path" parent="KinematicBody/CameraHolder"]
|
|
|
-curve = SubResource( 11 )
|
|
|
+[node name="LeanPath" type="Path" parent="KinematicBody/CameraHolder"]
|
|
|
+curve = SubResource( 9 )
|
|
|
|
|
|
-[node name="PathFollow" type="PathFollow" parent="KinematicBody/CameraHolder/Lean_Path"]
|
|
|
+[node name="PathFollow" type="PathFollow" parent="KinematicBody/CameraHolder/LeanPath"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0412404, 0.205172, 0 )
|
|
|
offset = 2.71865
|
|
|
rotation_mode = 0
|
|
|
loop = false
|
|
|
|
|
|
-[node name="IK_LookAt_Chest" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow"]
|
|
|
+[node name="IK_LookAt_Chest" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.451559, 0 )
|
|
|
script = ExtResource( 4 )
|
|
|
__meta__ = {
|
|
|
"_editor_icon": ExtResource( 5 )
|
|
|
}
|
|
|
-skeleton_path = NodePath("../../../../BattleBot/Armature/Skeleton")
|
|
|
+skeleton_path = NodePath("../../../../GodotBattleBot/Armature/Skeleton")
|
|
|
bone_name = "Chest"
|
|
|
-update_mode = 0
|
|
|
look_at_axis = 2
|
|
|
-use_our_rotation_x = false
|
|
|
-use_our_rotation_y = false
|
|
|
-use_our_rotation_z = false
|
|
|
-use_negative_our_rot = false
|
|
|
additional_rotation = Vector3( -10, 0, 0 )
|
|
|
-position_using_additional_bone = false
|
|
|
-additional_bone_name = ""
|
|
|
-additional_bone_length = 1.0
|
|
|
-debug_messages = false
|
|
|
|
|
|
-[node name="Camera" type="Camera" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest"]
|
|
|
+[node name="Camera" type="Camera" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest"]
|
|
|
transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0 )
|
|
|
fov = 74.0
|
|
|
|
|
|
-[node name="Aim_pos" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest"]
|
|
|
+[node name="AimPos" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest"]
|
|
|
transform = Transform( 0.999391, 0, -0.0348995, 0, 1, 0, 0.0348995, 0, 0.999391, 0.570504, -2.2654, 2.93826 )
|
|
|
|
|
|
-[node name="IK_FABRIK" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos"]
|
|
|
+[node name="IK_FABRIK" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos"]
|
|
|
script = ExtResource( 6 )
|
|
|
__meta__ = {
|
|
|
"_editor_icon": ExtResource( 7 )
|
|
|
}
|
|
|
-skeleton_path = NodePath("../../../../../../BattleBot/Armature/Skeleton")
|
|
|
+skeleton_path = NodePath("../../../../../../GodotBattleBot/Armature/Skeleton")
|
|
|
bones_in_chain = PoolStringArray( "Left_UpperArm", "Left_LowerArm", "Left_Hand" )
|
|
|
bones_in_chain_lengths = PoolRealArray( 1.97, 3, 0.1 )
|
|
|
-update_mode = 0
|
|
|
-chain_iterations = 0
|
|
|
limit_chain_iterations = false
|
|
|
-reset_iterations_on_update = false
|
|
|
use_middle_joint_target = true
|
|
|
|
|
|
-[node name="target" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos/IK_FABRIK"]
|
|
|
+[node name="Target" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos/IK_FABRIK"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.54883, -0.0335302, -0.934144 )
|
|
|
|
|
|
-[node name="IK_LookAt" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos/IK_FABRIK/target"]
|
|
|
+[node name="IK_LookAt" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos/IK_FABRIK/Target"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.300601, 0, 0.714191 )
|
|
|
script = ExtResource( 4 )
|
|
|
__meta__ = {
|
|
|
"_editor_icon": ExtResource( 5 )
|
|
|
}
|
|
|
-skeleton_path = NodePath("../../../../../../../../BattleBot/Armature/Skeleton")
|
|
|
+skeleton_path = NodePath("../../../../../../../../GodotBattleBot/Armature/Skeleton")
|
|
|
bone_name = "Left_Hand"
|
|
|
-update_mode = 0
|
|
|
-look_at_axis = 1
|
|
|
-use_our_rotation_x = false
|
|
|
-use_our_rotation_y = false
|
|
|
-use_our_rotation_z = false
|
|
|
use_negative_our_rot = true
|
|
|
additional_rotation = Vector3( 0, 0, 90 )
|
|
|
-position_using_additional_bone = false
|
|
|
-additional_bone_name = ""
|
|
|
-additional_bone_length = 1.0
|
|
|
-debug_messages = false
|
|
|
|
|
|
-[node name="middle_joint_target" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos/IK_FABRIK"]
|
|
|
+[node name="MiddleJoint" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos/IK_FABRIK"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.85263, -2.91316, -2.77555 )
|
|
|
|
|
|
-[node name="Left_UpperArm" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos/IK_FABRIK"]
|
|
|
+[node name="Left_UpperArm" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos/IK_FABRIK"]
|
|
|
transform = Transform( -0.985848, -0.0154234, 0.16693, -0.0140715, 0.999858, 0.00927825, -0.167049, 0.00679813, -0.985925, 1.5529, -1.84646, -6.07288 )
|
|
|
|
|
|
-[node name="Left_LowerArm" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos/IK_FABRIK"]
|
|
|
+[node name="Left_LowerArm" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos/IK_FABRIK"]
|
|
|
transform = Transform( -0.980952, 0.0992109, 0.167001, 0.116307, 0.988573, 0.0958931, -0.155579, 0.11349, -0.981282, 1.2349, -1.86413, -4.19466 )
|
|
|
|
|
|
-[node name="Left_Hand" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos/IK_FABRIK"]
|
|
|
+[node name="Left_Hand" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos/IK_FABRIK"]
|
|
|
transform = Transform( -0.962426, 0.0909643, 0.255854, 0.128209, 0.982809, 0.132853, -0.23937, 0.160664, -0.957543, 0.737802, -2.14957, -1.27378 )
|
|
|
|
|
|
-[node name="IK_FABRIK_RightArm" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos"]
|
|
|
+[node name="IK_FABRIK_RightArm" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos"]
|
|
|
script = ExtResource( 6 )
|
|
|
__meta__ = {
|
|
|
"_editor_icon": ExtResource( 7 )
|
|
|
}
|
|
|
-skeleton_path = NodePath("../../../../../../BattleBot/Armature/Skeleton")
|
|
|
+skeleton_path = NodePath("../../../../../../GodotBattleBot/Armature/Skeleton")
|
|
|
bones_in_chain = PoolStringArray( "Right_UpperArm", "Right_LowerArm", "Right_Hand" )
|
|
|
bones_in_chain_lengths = PoolRealArray( 1.97, 3, 0.1 )
|
|
|
-update_mode = 0
|
|
|
-chain_iterations = 0
|
|
|
limit_chain_iterations = false
|
|
|
-reset_iterations_on_update = false
|
|
|
use_middle_joint_target = true
|
|
|
|
|
|
-[node name="target" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos/IK_FABRIK_RightArm"]
|
|
|
+[node name="Target" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos/IK_FABRIK_RightArm"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.285662, -0.0335302, -1.05271 )
|
|
|
|
|
|
-[node name="IK_LookAt" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos/IK_FABRIK_RightArm/target"]
|
|
|
+[node name="IK_LookAt" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos/IK_FABRIK_RightArm/Target"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00396007, 0, 0.834561 )
|
|
|
script = ExtResource( 4 )
|
|
|
__meta__ = {
|
|
|
"_editor_icon": ExtResource( 5 )
|
|
|
}
|
|
|
-skeleton_path = NodePath("../../../../../../../../BattleBot/Armature/Skeleton")
|
|
|
+skeleton_path = NodePath("../../../../../../../../GodotBattleBot/Armature/Skeleton")
|
|
|
bone_name = "Right_Hand"
|
|
|
-update_mode = 0
|
|
|
-look_at_axis = 1
|
|
|
-use_our_rotation_x = false
|
|
|
-use_our_rotation_y = false
|
|
|
-use_our_rotation_z = false
|
|
|
use_negative_our_rot = true
|
|
|
additional_rotation = Vector3( 0, 0, 90 )
|
|
|
-position_using_additional_bone = false
|
|
|
-additional_bone_name = ""
|
|
|
-additional_bone_length = 1.0
|
|
|
-debug_messages = false
|
|
|
|
|
|
-[node name="middle_joint_target" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos/IK_FABRIK_RightArm"]
|
|
|
+[node name="MiddleJoint" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos/IK_FABRIK_RightArm"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5.73318, -2.91316, -2.77555 )
|
|
|
|
|
|
-[node name="Right_UpperArm" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos/IK_FABRIK_RightArm"]
|
|
|
+[node name="Right_UpperArm" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos/IK_FABRIK_RightArm"]
|
|
|
|
|
|
-[node name="Right_LowerArm" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos/IK_FABRIK_RightArm"]
|
|
|
+[node name="Right_LowerArm" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos/IK_FABRIK_RightArm"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.85263, -2.91316, -2.77555 )
|
|
|
|
|
|
-[node name="Right_Hand" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos/IK_FABRIK_RightArm"]
|
|
|
+[node name="Right_Hand" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos/IK_FABRIK_RightArm"]
|
|
|
|
|
|
-[node name="RemoteTransform" type="RemoteTransform" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow/IK_LookAt_Chest/Aim_pos"]
|
|
|
+[node name="RemoteTransform" type="RemoteTransform" parent="KinematicBody/CameraHolder/LeanPath/PathFollow/IK_LookAt_Chest/AimPos"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.505047, 0.268441 )
|
|
|
remote_path = NodePath("../../../../../Weapon/Pistol")
|
|
|
|
|
|
-[node name="IK_LookAt_Head" type="Spatial" parent="KinematicBody/CameraHolder/Lean_Path/PathFollow"]
|
|
|
+[node name="IK_LookAt_Head" type="Spatial" parent="KinematicBody/CameraHolder/LeanPath/PathFollow"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -3.14041, -2.57003 )
|
|
|
script = ExtResource( 4 )
|
|
|
__meta__ = {
|
|
|
"_editor_icon": ExtResource( 5 )
|
|
|
}
|
|
|
-skeleton_path = NodePath("../../../../BattleBot/Armature/Skeleton")
|
|
|
+skeleton_path = NodePath("../../../../GodotBattleBot/Armature/Skeleton")
|
|
|
bone_name = "Head"
|
|
|
-update_mode = 0
|
|
|
-look_at_axis = 1
|
|
|
-use_our_rotation_x = false
|
|
|
-use_our_rotation_y = false
|
|
|
-use_our_rotation_z = false
|
|
|
-use_negative_our_rot = false
|
|
|
-additional_rotation = Vector3( 0, 0, 0 )
|
|
|
-position_using_additional_bone = false
|
|
|
-additional_bone_name = ""
|
|
|
-additional_bone_length = 1.0
|
|
|
-debug_messages = false
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="KinematicBody/CameraHolder"]
|
|
|
autoplay = "Start"
|
|
|
playback_speed = 4.0
|
|
|
-anims/Aiming = SubResource( 12 )
|
|
|
-anims/Idle = SubResource( 13 )
|
|
|
-anims/Start = SubResource( 14 )
|
|
|
+anims/Aiming = SubResource( 10 )
|
|
|
+anims/Idle = SubResource( 11 )
|
|
|
+anims/Start = SubResource( 12 )
|
|
|
|
|
|
[node name="Weapon" type="Spatial" parent="KinematicBody/CameraHolder"]
|
|
|
|
|
@@ -653,15 +586,15 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
|
|
|
material/0 = ExtResource( 9 )
|
|
|
material/1 = ExtResource( 10 )
|
|
|
|
|
|
-[node name="Pistol_end" type="Spatial" parent="KinematicBody/CameraHolder/Weapon/Pistol"]
|
|
|
+[node name="PistolEnd" type="Spatial" parent="KinematicBody/CameraHolder/Weapon/Pistol"]
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0161836, 0.315914, 1.41329 )
|
|
|
|
|
|
-[node name="BattleBot" parent="KinematicBody" instance=ExtResource( 11 )]
|
|
|
+[node name="GodotBattleBot" parent="KinematicBody" instance=ExtResource( 11 )]
|
|
|
|
|
|
-[node name="godot_battle_bot" parent="KinematicBody/BattleBot/Armature/Skeleton" index="0"]
|
|
|
+[node name="godot_battle_bot" parent="KinematicBody/GodotBattleBot/Armature/Skeleton" index="0"]
|
|
|
material/0 = ExtResource( 12 )
|
|
|
material/1 = ExtResource( 13 )
|
|
|
|
|
|
[editable path="KinematicBody/CameraHolder/Weapon/Pistol"]
|
|
|
|
|
|
-[editable path="KinematicBody/BattleBot"]
|
|
|
+[editable path="KinematicBody/GodotBattleBot"]
|