mags are now ejected with the calculated av/lv of the animation
This commit is contained in:
@@ -470,7 +470,7 @@ tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.3, 0.87, 0.93, 1.22, 1.6),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(0, -1.5708, 0), Vector3(-0.232886, -1.07885, -0.764517), Vector3(-0.629713, -1.24344, 0.0923291), Vector3(-0.492603, -1.40009, 0.121521), Vector3(-0.372059, -1.53262, 0.126735), Vector3(0, -1.5708, 0)]
|
||||
"values": [Vector3(0, -1.5708, 0), Vector3(-0.232129, -1.07861, -2.11708), Vector3(-0.629713, -1.24344, 0.0923291), Vector3(-0.492603, -1.40009, 0.121521), Vector3(-0.372059, -1.53262, 0.126735), Vector3(0, -1.5708, 0)]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
@@ -539,13 +539,19 @@ tracks/7/path = NodePath(".")
|
||||
tracks/7/interp = 1
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/keys = {
|
||||
"times": PackedFloat32Array(0.28, 0.95),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"times": PackedFloat32Array(0, 0.28, 0.2801, 0.95),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"mark_anim_rot"
|
||||
}, {
|
||||
"args": [],
|
||||
"method": &"spawn_mag"
|
||||
}, {
|
||||
"args": [],
|
||||
"method": &"mark_anim_rot"
|
||||
}, {
|
||||
"args": [],
|
||||
"method": &"reload_finished"
|
||||
}]
|
||||
}
|
||||
@@ -729,10 +735,11 @@ _data = {
|
||||
&"swap_out": SubResource("Animation_i5303")
|
||||
}
|
||||
|
||||
[node name="mac10" type="Node3D" node_paths=PackedStringArray("anim_player", "barrel_ray", "casing_ejector", "mag_ejector", "audio_fire", "audio_empty", "audio_reload")]
|
||||
[node name="mac10" type="Node3D" node_paths=PackedStringArray("anim_player", "anim_rot_body", "barrel_ray", "casing_ejector", "mag_ejector", "audio_fire", "audio_empty", "audio_reload")]
|
||||
script = ExtResource("2_rdhyh")
|
||||
weapon_info = ExtResource("3_h7i0a")
|
||||
anim_player = NodePath("GunAnims")
|
||||
anim_rot_body = NodePath("mac10")
|
||||
barrel_ray = NodePath("mac10/RayCastBarrel")
|
||||
casing_ejector = NodePath("mac10/RayCastCasing")
|
||||
mag_ejector = NodePath("mac10/RayCastMag")
|
||||
|
||||
Reference in New Issue
Block a user