giants-godot/characters/vimp.tscn

43 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-09-23 21:19:11 +02:00
[gd_scene load_steps=4 format=2]
2021-09-08 18:36:41 +02:00
2021-09-23 21:19:11 +02:00
[ext_resource path="res://entities/character.gd" type="Script" id=1]
[ext_resource path="res://assets/all_gbs/vp_l1.gbs.obj" type="ArrayMesh" id=2]
2021-09-08 18:36:41 +02:00
2021-10-15 23:42:06 +02:00
[sub_resource type="CapsuleShape" id=1]
radius = 8.0
height = 6.0
2021-09-08 18:36:41 +02:00
2021-09-23 21:19:11 +02:00
[node name="Vimp" type="KinematicBody"]
2021-10-15 23:42:06 +02:00
collision_layer = 2
2021-09-23 21:19:11 +02:00
script = ExtResource( 1 )
max_weapons = 0
2021-10-15 23:42:06 +02:00
back_camera_path = NodePath("Spatial/SpringArm/BackCamera")
head_path = NodePath("Spatial")
sprint_speed = 50.0
air_control = 0.05
can_jump = false
gravity = 200.0
walk_speed = 20.0
2021-09-08 18:36:41 +02:00
2021-09-23 21:19:11 +02:00
[node name="MeshInstance" type="MeshInstance" parent="."]
2021-10-15 23:42:06 +02:00
transform = Transform( -1, 8.74228e-08, 3.82137e-15, 0, -4.37114e-08, 1, 8.74228e-08, 1, 4.37114e-08, 0, 0, 0 )
2021-09-23 21:19:11 +02:00
mesh = ExtResource( 2 )
2021-09-08 18:36:41 +02:00
material/0 = null
material/1 = null
material/2 = null
2021-09-23 21:19:11 +02:00
[node name="CollisionShape" type="CollisionShape" parent="."]
2021-10-15 23:42:06 +02:00
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 11, 0 )
2021-09-08 18:36:41 +02:00
shape = SubResource( 1 )
2021-10-15 23:42:06 +02:00
[node name="Spatial" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 17, -7 )
[node name="SpringArm" type="SpringArm" parent="Spatial"]
spring_length = 50.0
margin = 1.0
[node name="BackCamera" type="Camera" parent="Spatial/SpringArm"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 22.846, 34.344 )
far = 8192.0