feat: added pistol ammo pickup
This commit is contained in:
parent
e8e7c242b2
commit
a80e20a787
19 changed files with 314 additions and 54 deletions
|
|
@ -119,7 +119,7 @@ void WeaponInventory::deposit_pistol_ammo(int amount) {
|
|||
}
|
||||
|
||||
void WeaponInventory::set_pistol_ammo(int amount) {
|
||||
this->rifle_ammo = abs(amount);
|
||||
this->pistol_ammo = abs(amount);
|
||||
}
|
||||
|
||||
int WeaponInventory::get_pistol_ammo() const {
|
||||
|
|
|
|||
16
project/assets/materials/environment/natural/dirt.tres
Normal file
16
project/assets/materials/environment/natural/dirt.tres
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[gd_resource type="StandardMaterial3D" format=3 uid="uid://d0wnprgu80i4k"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bvk3lg4f0qvgd" path="res://assets/materials/environment/natural/dirt_albedo.png" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cqvjibgic1fav" path="res://assets/materials/environment/natural/dirt_normal.png" id="3"]
|
||||
[ext_resource type="Texture2D" uid="uid://be18uurksr8ho" path="res://assets/materials/environment/natural/dirt_heightmap.png" id="4"]
|
||||
|
||||
[resource]
|
||||
albedo_texture = ExtResource("1")
|
||||
normal_enabled = true
|
||||
normal_texture = ExtResource("3")
|
||||
heightmap_enabled = true
|
||||
heightmap_scale = 12.5
|
||||
heightmap_deep_parallax = true
|
||||
heightmap_min_layers = 8
|
||||
heightmap_max_layers = 32
|
||||
heightmap_texture = ExtResource("4")
|
||||
BIN
project/assets/materials/environment/natural/dirt_albedo.png
Normal file
BIN
project/assets/materials/environment/natural/dirt_albedo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 739 KiB |
|
|
@ -0,0 +1,42 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bvk3lg4f0qvgd"
|
||||
path.s3tc="res://.godot/imported/dirt_albedo.png-afbb5e6e7bb879bb988a0a51b7f54c5f.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/materials/environment/natural/dirt_albedo.png"
|
||||
dest_files=["res://.godot/imported/dirt_albedo.png-afbb5e6e7bb879bb988a0a51b7f54c5f.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
project/assets/materials/environment/natural/dirt_heightmap.png
Normal file
BIN
project/assets/materials/environment/natural/dirt_heightmap.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 696 KiB |
|
|
@ -0,0 +1,42 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://be18uurksr8ho"
|
||||
path.s3tc="res://.godot/imported/dirt_heightmap.png-862eb1f3ed44c79da265ccd9c3eb7596.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/materials/environment/natural/dirt_heightmap.png"
|
||||
dest_files=["res://.godot/imported/dirt_heightmap.png-862eb1f3ed44c79da265ccd9c3eb7596.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
project/assets/materials/environment/natural/dirt_normal.png
Normal file
BIN
project/assets/materials/environment/natural/dirt_normal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.8 MiB |
|
|
@ -0,0 +1,42 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cqvjibgic1fav"
|
||||
path.s3tc="res://.godot/imported/dirt_normal.png-beeb39ae60d66df95a8d19186c579bca.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/materials/environment/natural/dirt_normal.png"
|
||||
dest_files=["res://.godot/imported/dirt_normal.png-beeb39ae60d66df95a8d19186c579bca.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=1
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=1
|
||||
roughness/src_normal="res://assets/materials/environment/natural/dirt_normal.png"
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
[gd_resource type="StandardMaterial3D" format=3 uid="uid://cvwo68c6f7u3k"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bvk3lg4f0qvgd" path="res://assets/materials/environment/natural/dirt_albedo.png" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cqvjibgic1fav" path="res://assets/materials/environment/natural/dirt_normal.png" id="3"]
|
||||
|
||||
[resource]
|
||||
albedo_texture = ExtResource("1")
|
||||
normal_enabled = true
|
||||
normal_texture = ExtResource("3")
|
||||
uv1_triplanar = true
|
||||
uv2_triplanar = true
|
||||
BIN
project/assets/models/pickups/pistol_ammo_pickup.blend
Normal file
BIN
project/assets/models/pickups/pistol_ammo_pickup.blend
Normal file
Binary file not shown.
|
|
@ -0,0 +1,63 @@
|
|||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://cenxwsy8pnsog"
|
||||
path="res://.godot/imported/pistol_ammo_pickup.blend-45a87bbb6e6683e638f7d6b5d1370327.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/models/pickups/pistol_ammo_pickup.blend"
|
||||
dest_files=["res://.godot/imported/pistol_ammo_pickup.blend-45a87bbb6e6683e638f7d6b5d1370327.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
blender/nodes/visible=0
|
||||
blender/nodes/active_collection_only=false
|
||||
blender/nodes/punctual_lights=true
|
||||
blender/nodes/cameras=true
|
||||
blender/nodes/custom_properties=true
|
||||
blender/nodes/modifiers=1
|
||||
blender/meshes/vertex_colors=1
|
||||
blender/meshes/uvs=true
|
||||
blender/meshes/normals=true
|
||||
blender/meshes/export_geometry_nodes_instances=false
|
||||
blender/meshes/gpu_instances=false
|
||||
blender/meshes/tangents=true
|
||||
blender/meshes/skins=2
|
||||
blender/meshes/export_bones_deforming_mesh_only=false
|
||||
blender/materials/unpack_enabled=true
|
||||
blender/materials/export_materials=1
|
||||
blender/animation/limit_playback=true
|
||||
blender/animation/always_sample=true
|
||||
blender/animation/group_tracks=true
|
||||
gltf/naming_version=2
|
||||
gltf/texture_map_mode=1
|
||||
Binary file not shown.
|
|
@ -16,6 +16,8 @@ dest_files=["res://.godot/imported/rifle_ammo_pickup.blend-1eb75be7fa8245442a1ac
|
|||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
|
|
@ -44,7 +46,7 @@ blender/nodes/punctual_lights=true
|
|||
blender/nodes/cameras=true
|
||||
blender/nodes/custom_properties=true
|
||||
blender/nodes/modifiers=1
|
||||
blender/meshes/colors=false
|
||||
blender/meshes/vertex_colors=2
|
||||
blender/meshes/uvs=true
|
||||
blender/meshes/normals=true
|
||||
blender/meshes/export_geometry_nodes_instances=false
|
||||
|
|
@ -58,3 +60,4 @@ blender/animation/limit_playback=true
|
|||
blender/animation/always_sample=true
|
||||
blender/animation/group_tracks=true
|
||||
gltf/naming_version=2
|
||||
gltf/texture_map_mode=0
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
[gd_scene format=3 uid="uid://d0uoiduq8tyi1"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://cg5dt1a0crcec" path="res://assets/materials/blueish_grid.tres" id="1_2qkxd"]
|
||||
[ext_resource type="Material" uid="uid://cvwo68c6f7u3k" path="res://assets/materials/environment/natural/dirt_triplanar.tres" id="1_r28v6"]
|
||||
[ext_resource type="PackedScene" uid="uid://f5kpclpgvxqf" path="res://objects/buildings/city_alleys_block.tscn" id="2_p352g"]
|
||||
[ext_resource type="PackedScene" uid="uid://oql3xquwteg0" path="res://objects/buildings/city_center_block.tscn" id="3_r28v6"]
|
||||
[ext_resource type="PackedScene" uid="uid://crml35t12hx2h" path="res://objects/pickups/weapon_pickup.tscn" id="4_53p2m"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_w56cv"]
|
||||
size = Vector3(42, 13, 38)
|
||||
|
|
@ -28,7 +29,7 @@ use_collision = true
|
|||
collision_layer = 3
|
||||
collision_mask = 3
|
||||
size = Vector3(61, 1, 35)
|
||||
material = ExtResource("1_2qkxd")
|
||||
material = ExtResource("1_r28v6")
|
||||
|
||||
[node name="CityAlleysBlock" parent="NavigationRegion3D" unique_id=511662474 instance=ExtResource("2_p352g")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11, 0, 3)
|
||||
|
|
@ -50,3 +51,6 @@ end_position = Vector3(0, 0.5, -0.5)
|
|||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 19)
|
||||
start_position = Vector3(0, 0.5, 0.5)
|
||||
end_position = Vector3(0, 0.5, -0.5)
|
||||
|
||||
[node name="WeaponPickup" parent="." unique_id=1699115370 instance=ExtResource("4_53p2m")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1.2274399, 14)
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -12,7 +12,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.068469256)
|
|||
light_intensity_lumens = 100000.0
|
||||
light_temperature = 2594.0
|
||||
light_energy = 16.0
|
||||
omni_range = 2.0
|
||||
omni_attenuation = 0.279
|
||||
|
||||
[node name="Timer" type="Timer" parent="." unique_id=1595500559]
|
||||
wait_time = 0.05
|
||||
|
|
|
|||
36
project/objects/pickups/pistol_ammo_pickup.tscn
Normal file
36
project/objects/pickups/pistol_ammo_pickup.tscn
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[gd_scene format=3 uid="uid://n3dweeyrkalx"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cenxwsy8pnsog" path="res://assets/models/pickups/pistol_ammo_pickup.blend" id="1_tmwpp"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_txvix"]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_nigrf"]
|
||||
resource_name = "PistolAmmoPickup"
|
||||
script/source = "extends Interactable
|
||||
|
||||
func _highlight_changed(interactor: PlayerInteractor, value: bool) -> void:
|
||||
var hud := HeadsUpDisplay.get_singleton()
|
||||
if hud:
|
||||
hud.set_tooltip(\"Pick up 6 shots of pistol ammo\" if value else \"\")
|
||||
|
||||
func _activated(interactor: PlayerInteractor) -> void:
|
||||
interactor.get_inventory().pistol_ammo += 6
|
||||
get_parent().queue_free()
|
||||
|
||||
func _process(delta : float):
|
||||
$\"../pistol_ammo_pickup\".global_rotate(Vector3(0, 1, 0), delta)
|
||||
"
|
||||
|
||||
[node name="PistolAmmoPickup" type="StaticBody3D" unique_id=384637127]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=41210596]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.4182733, 0)
|
||||
shape = SubResource("SphereShape3D_txvix")
|
||||
|
||||
[node name="Interactable" type="Interactable" parent="." unique_id=1018953245]
|
||||
script = SubResource("GDScript_nigrf")
|
||||
|
||||
[node name="pistol_ammo_pickup" parent="." unique_id=593110692 instance=ExtResource("1_tmwpp")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.3640375, 0)
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
[gd_scene format=3 uid="uid://5hg5eirw7v8n"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c4ocislhm428e" path="res://objects/pickups/rifle_ammo_pickup.tscn" id="1_avriu"]
|
||||
[ext_resource type="PackedScene" uid="uid://n3dweeyrkalx" path="res://objects/pickups/pistol_ammo_pickup.tscn" id="1_e0nd4"]
|
||||
[ext_resource type="PackedScene" uid="uid://dqlqgk1veyos8" path="res://objects/enemies/enemy_wretched.tscn" id="2_avriu"]
|
||||
|
||||
[node name="PatrolA" type="NpcUnit" unique_id=209119201]
|
||||
patrol_speed = 3.0
|
||||
drop_on_clear = ExtResource("1_avriu")
|
||||
drop_on_clear = ExtResource("1_e0nd4")
|
||||
|
||||
[node name="EnemyWretched" parent="." unique_id=589775425 instance=ExtResource("2_avriu")]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -0.24707353, 0.023195954, -0.29548448)
|
||||
|
|
|
|||
|
|
@ -27,54 +27,55 @@ double_action_spread = 0.04
|
|||
[node name="revolver" parent="." unique_id=920739050 instance=ExtResource("1_5ynga")]
|
||||
|
||||
[node name="Skeleton3D" parent="revolver/Character" parent_id_path=PackedInt32Array(920739050, 580257283) index="0" unique_id=1237005388]
|
||||
bones/1/position = Vector3(0.077683, 0.15356629, 0.22951864)
|
||||
bones/1/position = Vector3(0.077683, 0.15264286, 0.0946996)
|
||||
bones/1/rotation = Quaternion(0.5851843, 0.4764963, 0.47324383, -0.45447868)
|
||||
bones/2/rotation = Quaternion(-0.130586, 0.0369961, 0.61635566, 0.7756831)
|
||||
bones/3/rotation = Quaternion(0.04178224, 0.11465855, 0.2751497, 0.9536249)
|
||||
bones/4/rotation = Quaternion(0.1438401, 0.35638994, -0.2608724, 0.8855743)
|
||||
bones/5/rotation = Quaternion(-0.22070737, 0.14418079, 0.13519567, 0.95510334)
|
||||
bones/6/rotation = Quaternion(-0.100188054, 0.0017374307, -0.01725145, 0.99481744)
|
||||
bones/7/rotation = Quaternion(-0.5670921, 0.00026772878, -0.00039003103, 0.82365435)
|
||||
bones/8/position = Vector3(-0.00024729938, 0.09413031, 0.006029021)
|
||||
bones/8/rotation = Quaternion(-0.67974395, 0.15276042, 0.07346369, 0.7135934)
|
||||
bones/9/rotation = Quaternion(-0.5241326, -0.0052551194, 0.008540807, 0.8515776)
|
||||
bones/10/rotation = Quaternion(-0.45302963, 0.0016381196, -0.0032266802, 0.89148813)
|
||||
bones/11/position = Vector3(0.019964732, 0.089208744, -0.0011444051)
|
||||
bones/11/rotation = Quaternion(-0.6447599, 0.17695157, 0.030249286, 0.74300593)
|
||||
bones/12/rotation = Quaternion(-0.61815894, -0.005842373, 0.008146181, 0.78598917)
|
||||
bones/13/rotation = Quaternion(-0.28957173, 0.00089087046, -0.0035062514, 0.95714945)
|
||||
bones/14/rotation = Quaternion(-0.4137267, 0.18337817, -0.055713173, 0.88999933)
|
||||
bones/15/rotation = Quaternion(-0.56248397, 0.00851621, 0.018579122, 0.82655555)
|
||||
bones/16/rotation = Quaternion(-0.51711315, -0.0032988975, -0.013025862, 0.85581154)
|
||||
bones/17/position = Vector3(-0.035217397, 0.031610142, 0.01092668)
|
||||
bones/17/rotation = Quaternion(-0.4766158, 0.022983566, 0.16551939, 0.8630831)
|
||||
bones/18/rotation = Quaternion(0.3054513, -0.076055326, -0.15467337, 0.9364782)
|
||||
bones/19/rotation = Quaternion(0.0080123, 0.013962941, -0.36334667, 0.9315149)
|
||||
bones/20/position = Vector3(-0.077683, 0.12932053, 0.0004705212)
|
||||
bones/2/rotation = Quaternion(-0.07062376, -0.040643398, 0.61463857, 0.78458893)
|
||||
bones/3/rotation = Quaternion(0.19266689, -0.08577706, 0.30792275, 0.92774206)
|
||||
bones/4/rotation = Quaternion(0.0627074, 0.067963384, -0.053230926, 0.99429137)
|
||||
bones/5/rotation = Quaternion(-0.47398907, 0.1355672, 0.12082356, 0.86160177)
|
||||
bones/6/rotation = Quaternion(-0.7654215, 0.013273407, -0.0111554125, 0.6432957)
|
||||
bones/7/rotation = Quaternion(-0.21980579, 0.000103354156, -0.00046165468, 0.97554356)
|
||||
bones/8/position = Vector3(-0.00024734155, 0.094130196, 0.006029054)
|
||||
bones/8/rotation = Quaternion(-0.7862071, 0.13886769, 0.097203135, 0.5942607)
|
||||
bones/9/rotation = Quaternion(-0.5939975, -0.005955771, 0.00806786, 0.8044045)
|
||||
bones/10/rotation = Quaternion(0.054641068, -0.00019911394, -0.0036130992, 0.9984996)
|
||||
bones/11/position = Vector3(0.019964693, 0.08920867, -0.0011443892)
|
||||
bones/11/rotation = Quaternion(-0.7966416, 0.16545957, 0.06964222, 0.5771788)
|
||||
bones/12/rotation = Quaternion(-0.57221615, -0.0053670774, 0.008467009, 0.82004166)
|
||||
bones/13/rotation = Quaternion(0.026842894, -0.00025950963, -0.003608226, 0.9996332)
|
||||
bones/14/rotation = Quaternion(-0.8074391, 0.18634109, 0.04481737, 0.55795217)
|
||||
bones/15/rotation = Quaternion(-0.562484, 0.008516216, 0.018579094, 0.8265555)
|
||||
bones/16/rotation = Quaternion(-0.08373597, -0.008735476, -0.010209934, 0.9963974)
|
||||
bones/17/position = Vector3(-0.035217397, 0.03161013, 0.010926665)
|
||||
bones/17/rotation = Quaternion(-0.088245645, 0.15454085, 0.14938323, 0.97263277)
|
||||
bones/18/rotation = Quaternion(-0.024096576, -0.019954508, -0.16121523, 0.98642325)
|
||||
bones/19/rotation = Quaternion(0.011471438, 0.011294479, -0.099511534, 0.9949062)
|
||||
bones/20/position = Vector3(-0.077683, 0.2231791, 0.19315876)
|
||||
bones/20/rotation = Quaternion(0.5851843, -0.4764963, -0.47324383, -0.45447868)
|
||||
bones/21/rotation = Quaternion(-0.054112177, 0.041348223, 0.06595896, 0.9954957)
|
||||
bones/22/rotation = Quaternion(-0.026361315, 0.047682222, -0.08761911, 0.99466294)
|
||||
bones/23/rotation = Quaternion(0.0087715145, 0.00401132, -0.041260336, 0.9991019)
|
||||
bones/25/rotation = Quaternion(-0.00016073987, -2.7729832e-06, 0.017338712, 0.9998497)
|
||||
bones/26/rotation = Quaternion(-5.533049e-06, 8.158348e-07, 0.000472692, 0.9999999)
|
||||
bones/27/rotation = Quaternion(-0.09291299, -0.16547912, 0.03673224, 0.9811394)
|
||||
bones/28/rotation = Quaternion(9.743209e-05, -2.249952e-06, -0.010027913, 0.9999498)
|
||||
bones/29/rotation = Quaternion(-3.571963e-05, 1.3003668e-06, 0.0036188553, 0.99999344)
|
||||
bones/30/rotation = Quaternion(-0.09937216, -0.162095, 0.07714952, 0.9787228)
|
||||
bones/31/rotation = Quaternion(0.0005252566, -0.0004487199, -0.010014582, 0.99994963)
|
||||
bones/32/rotation = Quaternion(-0.00018943015, 0.00016181999, 0.0036140762, 0.99999344)
|
||||
bones/33/rotation = Quaternion(-0.10820272, -0.15602519, 0.111299604, 0.9754798)
|
||||
bones/35/rotation = Quaternion(-0.008701338, 0.009477453, 0.009525659, 0.9998719)
|
||||
bones/36/rotation = Quaternion(-0.08824564, -0.15454084, -0.14938323, 0.97263277)
|
||||
bones/38/rotation = Quaternion(0.012276233, -0.010414393, 0.02558109, 0.99954313)
|
||||
bones/39/position = Vector3(0.075784564, -0.25414097, -0.44517958)
|
||||
bones/39/rotation = Quaternion(-0.14452313, 2.800081e-17, 2.8000815e-17, 0.9895015)
|
||||
bones/40/position = Vector3(0.018712092, 0.02616787, 0.005937299)
|
||||
bones/41/rotation = Quaternion(0.13431591, 1.18129094e-07, 1.6011704e-08, 0.99093854)
|
||||
bones/43/rotation = Quaternion(0.0037203024, 1.1920845e-07, 4.4349532e-10, 0.9999931)
|
||||
bones/44/rotation = Quaternion(0.9970487, -9.152006e-09, 1.1885747e-07, -0.07677229)
|
||||
bones/45/position = Vector3(0.012085369, 0.16355935, -0.1564293)
|
||||
bones/45/rotation = Quaternion(0.8511746, -0.50459415, -0.07369914, -0.124319114)
|
||||
bones/21/rotation = Quaternion(-0.7496033, -0.38544232, -0.22619723, 0.48822552)
|
||||
bones/22/rotation = Quaternion(-0.04198679, 0.03472209, -0.44565904, 0.89354324)
|
||||
bones/23/rotation = Quaternion(-0.15962161, -0.21811606, 0.3500859, 0.89687586)
|
||||
bones/25/rotation = Quaternion(-0.28938097, -0.005018258, 0.016596625, 0.957057)
|
||||
bones/26/rotation = Quaternion(-0.9241673, -0.00043655606, 0.00018121758, 0.38198796)
|
||||
bones/27/rotation = Quaternion(-0.07568225, -0.17403553, -0.06278844, 0.9798171)
|
||||
bones/28/rotation = Quaternion(-0.3657181, 0.003666326, -0.009333611, 0.93067163)
|
||||
bones/29/rotation = Quaternion(-0.86620736, -0.0031340413, 0.0018093355, 0.4996716)
|
||||
bones/30/rotation = Quaternion(-0.06452991, -0.17884496, -0.122418195, 0.97409666)
|
||||
bones/31/rotation = Quaternion(-0.16885689, 0.0012540366, -0.009945885, 0.9855897)
|
||||
bones/32/rotation = Quaternion(-0.95806986, -0.0034160786, 0.0011911077, 0.28651187)
|
||||
bones/33/rotation = Quaternion(-0.06748911, -0.17747368, -0.12664509, 0.9736064)
|
||||
bones/35/rotation = Quaternion(-0.1337743, 0.008210706, 0.010636929, 0.9909208)
|
||||
bones/36/rotation = Quaternion(-0.13138655, -0.070006624, -0.23216936, 0.9612149)
|
||||
bones/38/rotation = Quaternion(0.009396483, -0.0130718, 0.26630974, 0.9637531)
|
||||
bones/39/position = Vector3(0.0651006, -0.2110788, -0.3162956)
|
||||
bones/39/rotation = Quaternion(-0.24025756, -0.11550581, 0.5455136, 0.7945752)
|
||||
bones/40/position = Vector3(0.051735185, 0.15964086, -0.1834799)
|
||||
bones/40/rotation = Quaternion(-0.18252794, 0.5663156, -0.24972938, 0.7639408)
|
||||
bones/41/rotation = Quaternion(0.8036122, 8.700952e-08, -1.09809335e-07, 0.59515333)
|
||||
bones/43/rotation = Quaternion(0.10914011, 1.1855759e-07, -3.2313738e-09, 0.99402636)
|
||||
bones/44/rotation = Quaternion(0.9970487, 3.5267438e-09, 1.1796559e-07, -0.07677231)
|
||||
bones/45/position = Vector3(0.0120854, 0.16355939, -0.15642935)
|
||||
bones/45/rotation = Quaternion(0.7413107, 0.65541714, 0.09572749, -0.108273)
|
||||
|
||||
[node name="Body" parent="revolver/Character/Skeleton3D" index="0" unique_id=757337077]
|
||||
layers = 2
|
||||
|
|
@ -83,7 +84,7 @@ layers = 2
|
|||
layers = 2
|
||||
|
||||
[node name="BoneAttachment3D" type="BoneAttachment3D" parent="revolver/Character/Skeleton3D" index="2" unique_id=1012267645]
|
||||
transform = Transform3D(1, -6.350722e-17, 4.7320154e-17, 4.732016e-17, 0.95822614, 0.28601167, -6.3507215e-17, -0.28601167, 0.95822614, 0.075784564, -0.25414097, -0.44517958)
|
||||
transform = Transform3D(0.37814683, -0.8114007, -0.44568357, 0.9224053, 0.28938258, 0.2557854, -0.07857141, -0.5078253, 0.85786945, 0.0651006, -0.2110788, -0.3162956)
|
||||
bone_name = "root"
|
||||
bone_idx = 39
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue