adjust npc scale
This commit is contained in:
parent
857b14450d
commit
cee84f3999
BIN
blends/npcs.blend (Stored with Git LFS)
BIN
blends/npcs.blend (Stored with Git LFS)
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
source_md5="989af9ab20d9c87f6c39f81ed9ec0a73"
|
||||
dest_md5="2d0906022f4f542a60cc3278fef58c96"
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,27 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://player/player.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://tests/npc/test_scale_person.glb" type="PackedScene" id=2]
|
||||
|
||||
[sub_resource type="CubeMesh" id=1]
|
||||
|
||||
[sub_resource type="ConcavePolygonShape" id=2]
|
||||
data = PoolVector3Array( -1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, -1, -1, -1, -1 )
|
||||
|
||||
[node name="Spatial" type="Spatial"]
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource( 1 )]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.750395, 3.6862 )
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="."]
|
||||
transform = Transform( 4.32175, 0, 0, 0, 1, 0, 0, 0, 5.31103, 0, -1.4332, 0 )
|
||||
mesh = SubResource( 1 )
|
||||
skeleton = NodePath("../Player")
|
||||
|
||||
[node name="StaticBody" type="StaticBody" parent="MeshInstance"]
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="MeshInstance/StaticBody"]
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="test_scale_person" parent="." instance=ExtResource( 2 )]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.733277, 17.7222 )
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue