2019-11-20 14:05:35 +01:00
|
|
|
[gd_scene load_steps=6 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://data/models/armature_model_orig_v2.tscn" type="PackedScene" id=1]
|
|
|
|
[ext_resource path="res://player/Mob.gd" type="Script" id=2]
|
|
|
|
[ext_resource path="res://ui/nameplates/NamePlate.tscn" type="PackedScene" id=3]
|
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape" id=1]
|
|
|
|
radius = 0.266582
|
|
|
|
height = 0.927641
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape" id=2]
|
|
|
|
extents = Vector3( 0.216228, 0.0681041, 0.183397 )
|
|
|
|
|
|
|
|
[node name="Mob" type="Entity" groups=[
|
|
|
|
"mobs",
|
|
|
|
]]
|
2020-01-02 23:02:45 +01:00
|
|
|
body_path = NodePath("Body")
|
|
|
|
character_skeleton_path = NodePath("Body/Rotation_Helper/Model/character")
|
2019-11-20 14:05:35 +01:00
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
2020-01-02 23:02:45 +01:00
|
|
|
[node name="NamePlate" parent="." instance=ExtResource( 3 )]
|
|
|
|
|
|
|
|
[node name="Body" type="KinematicBody" parent="."]
|
|
|
|
|
|
|
|
[node name="Body_CollisionShape" type="CollisionShape" parent="Body"]
|
2019-11-20 14:05:35 +01:00
|
|
|
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0.73, 0 )
|
|
|
|
shape = SubResource( 1 )
|
|
|
|
|
2020-01-02 23:02:45 +01:00
|
|
|
[node name="Feet_CollisionShape" type="CollisionShape" parent="Body"]
|
2019-11-20 14:05:35 +01:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0 )
|
|
|
|
shape = SubResource( 2 )
|
|
|
|
|
2020-01-02 23:02:45 +01:00
|
|
|
[node name="Rotation_Helper" type="Spatial" parent="Body"]
|
2019-11-20 14:05:35 +01:00
|
|
|
transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 0, 0, 0 )
|
|
|
|
|
2020-01-02 23:02:45 +01:00
|
|
|
[node name="Model" type="Spatial" parent="Body/Rotation_Helper"]
|
2019-11-20 14:05:35 +01:00
|
|
|
|
2020-01-02 23:02:45 +01:00
|
|
|
[node name="character" parent="Body/Rotation_Helper/Model" instance=ExtResource( 1 )]
|