Added a handgun model.

remotes/1705382094874458415/tmp_refs/heads/godot4-port
unfa 2020-06-19 01:27:00 +02:00
parent 1e61fa2e2d
commit 03f16038f8
5 changed files with 1418 additions and 5 deletions

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -1,16 +1,17 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Player.gd" type="Script" id=1]
[ext_resource path="res://Assets/Weapons/Handgun/Handgun.gltf" type="PackedScene" id=2]
[sub_resource type="CapsuleShape" id=1]
radius = 0.33
height = 1.1
[sub_resource type="CylinderShape" id=2]
[sub_resource type="CylinderShape" id=3]
radius = 0.2
height = 0.3
[sub_resource type="CapsuleMesh" id=3]
[sub_resource type="CapsuleMesh" id=2]
radius = 0.33
mid_height = 1.1
@ -20,17 +21,22 @@ script = ExtResource( 1 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.53592, -0.0651628 )
[node name="Weapon" type="Spatial" parent="Camera"]
transform = Transform( -2.18557e-07, 0, -5, 0, 5, 0, 5, 0, -2.18557e-07, 0.263, -0.216, -0.559 )
[node name="Handgun" parent="Camera/Weapon" instance=ExtResource( 2 )]
[node name="CollisionShapeBody" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 0.882822, 0 )
shape = SubResource( 1 )
[node name="CollisionShapeFeet" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.150321, 0 )
shape = SubResource( 2 )
shape = SubResource( 3 )
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0.882822, 0 )
mesh = SubResource( 3 )
mesh = SubResource( 2 )
material/0 = null
[node name="Debug" type="Label" parent="."]