pandemonium_demo_projects/networking/network_synchronizer/Character.tscn

53 lines
1.6 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=8 format=2]
[ext_resource path="res://NetworkedController.gd" type="Script" id=1]
[ext_resource path="res://PlayerCamera.gd" type="Script" id=2]
[ext_resource path="res://Character.gd" type="Script" id=3]
[sub_resource type="CapsuleShape" id=4]
radius = 0.249783
height = 1.50094
[sub_resource type="CapsuleMesh" id=2]
radius = 0.25
mid_height = 1.5
[sub_resource type="SpatialMaterial" id=3]
[sub_resource type="CapsuleShape" id=5]
radius = 0.343218
height = 1.47735
[node name="Character" type="KinematicBody"]
script = ExtResource( 3 )
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 )
shape = SubResource( 4 )
[node name="AvatarContainer" type="Spatial" parent="."]
[node name="Mesh" type="MeshInstance" parent="AvatarContainer"]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 )
mesh = SubResource( 2 )
skeleton = NodePath("../..")
material/0 = SubResource( 3 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( -0.707107, 0.454519, -0.541675, 0, 0.766044, 0.642787, 0.707107, 0.454519, -0.541675, -4.12047, 6.30383, -4.13525 )
projection = 1
size = 15.0
near = 0.01
far = 2000.0
script = ExtResource( 2 )
[node name="NetworkedController" type="NetworkedController" parent="."]
doll_connection_stats_frame_span = 180
script = ExtResource( 1 )
[node name="KinematicBody" type="KinematicBody" parent="."]
[node name="CollisionShape" type="CollisionShape" parent="KinematicBody"]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 )
shape = SubResource( 5 )