fix playermodel collisions
This commit is contained in:
parent
2142fbf55a
commit
528a9bc425
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://b2jhgtduapovl"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://b2jhgtduapovl"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Player.gd" id="1_o6o4b"]
|
||||
[ext_resource type="PackedScene" uid="uid://cnu1vf8k5i3tv" path="res://scenes/models/pistol.tscn" id="2_nxbij"]
|
||||
|
@ -9,8 +9,23 @@
|
|||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_fp0bl"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_gsdrn"]
|
||||
size = Vector3(1.44899, 0.8463, 0.132389)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_04dhp"]
|
||||
size = Vector3(0.379028, 0.376923, 0.371674)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_xes75"]
|
||||
size = Vector3(0.44751, 0.866943, 0.152832)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_61s8a"]
|
||||
size = Vector3(0.18811, 1.06403, 0.191895)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_slu1u"]
|
||||
size = Vector3(0.191162, 1.05872, 0.195557)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_mtx2c"]
|
||||
size = Vector3(0.177368, 1.06198, 0.190918)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_shrr1"]
|
||||
size = Vector3(0.180664, 1.06628, 0.180664)
|
||||
|
||||
[node name="player" type="CharacterBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.15595, 0)
|
||||
|
@ -81,25 +96,25 @@ surface_material_override/24 = ExtResource("6_md2fv")
|
|||
surface_material_override/25 = ExtResource("7_2k5kn")
|
||||
|
||||
[node name="collisionhead" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(0.249323, 0, 0, 0, 0.447434, 0, 0, 0, 3.00119, -0.00773959, 0.986574, 0.0380512)
|
||||
shape = SubResource("BoxShape3D_gsdrn")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.000598475, 0.993303, 0.0291694)
|
||||
shape = SubResource("BoxShape3D_04dhp")
|
||||
|
||||
[node name="collisionbody" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(0.298684, 0, 0, 0, 1.03598, 0, 0, 0, 1.32184, -0.0077214, 0.302573, 0.0642047)
|
||||
shape = SubResource("BoxShape3D_gsdrn")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.003387, 0.364707, 0.0712848)
|
||||
shape = SubResource("BoxShape3D_xes75")
|
||||
|
||||
[node name="collisionlefthand" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(0.121545, 0, 0, 0, 1.24748, 0, 0, 0, 1.32184, 0.339307, 0.207107, 0.0578248)
|
||||
shape = SubResource("BoxShape3D_gsdrn")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.352796, 0.209396, 0.0609986)
|
||||
shape = SubResource("BoxShape3D_61s8a")
|
||||
|
||||
[node name="collisionrighthand" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(0.121545, 0, 0, 0, 1.24748, 0, 0, 0, 1.32184, -0.353562, 0.207107, 0.060746)
|
||||
shape = SubResource("BoxShape3D_gsdrn")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.340745, 0.207778, 0.0591591)
|
||||
shape = SubResource("BoxShape3D_slu1u")
|
||||
|
||||
[node name="collisionrightleg" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(0.121545, 0, 0, 0, 1.10995, 0, 0, 0, 1.32184, -0.135186, -0.653192, 0.0674681)
|
||||
shape = SubResource("BoxShape3D_gsdrn")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.125481, -0.602212, 0.0608763)
|
||||
shape = SubResource("BoxShape3D_mtx2c")
|
||||
|
||||
[node name="collisionleftleg" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(0.121545, 0, 0, 0, 1.26676, 0, 0, 0, 1.32184, 0.113237, -0.590235, 0.0684103)
|
||||
shape = SubResource("BoxShape3D_gsdrn")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.130327, -0.599574, 0.0610861)
|
||||
shape = SubResource("BoxShape3D_shrr1")
|
||||
|
|
Loading…
Reference in New Issue