giants-godot/characters/vimp.tscn

43 lines
1.3 KiB
Plaintext

[gd_scene load_steps=4 format=2]
[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]
[sub_resource type="CapsuleShape" id=1]
radius = 8.0
height = 6.0
[node name="Vimp" type="KinematicBody"]
collision_layer = 2
script = ExtResource( 1 )
max_weapons = 0
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
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( -1, 8.74228e-08, 3.82137e-15, 0, -4.37114e-08, 1, 8.74228e-08, 1, 4.37114e-08, 0, 0, 0 )
mesh = ExtResource( 2 )
material/0 = null
material/1 = null
material/2 = null
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 11, 0 )
shape = SubResource( 1 )
[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