forked from unfa/liblast
Tracer and player stuff.
parent
eb4423d184
commit
8af9ff7ba3
|
@ -20,4 +20,5 @@ func _process(delta):
|
|||
translate_object_local(Vector3(-velocity,0,0))
|
||||
|
||||
func _on_Raycast_body_entered(body):
|
||||
print("Tracer died: body")
|
||||
queue_free()
|
||||
|
|
|
@ -16,11 +16,11 @@ input_ray_pickable = false
|
|||
monitorable = false
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="Raycast"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00372178, -6.92157e-07, 2.79426 )
|
||||
transform = Transform( 1, 0, 2.84217e-14, 0, 1, 0, -2.84217e-14, 0, 1, 0.0037213, -6.92157e-07, -0.15803 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="BulletTracer" parent="." instance=ExtResource( 2 )]
|
||||
transform = Transform( -4.07302e-08, 0, -1, 0, 0.25, 0, 0.25, 0, -1.62921e-07, -0.00849247, 0.0281134, 0.0116889 )
|
||||
transform = Transform( -4.07302e-08, 0, -1, 0, 0.25, 0, 0.25, 0, -1.62921e-07, 0, 0, 0 )
|
||||
|
||||
[node name="Tracer" parent="BulletTracer" index="0"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0101204, 0, -0.0227299 )
|
||||
|
|
|
@ -194,6 +194,7 @@ master func kill():
|
|||
$Camera/Hand.hide()
|
||||
$CrosshairContainer.hide()
|
||||
|
||||
|
||||
yield(get_tree().create_timer(3), "timeout")
|
||||
|
||||
|
||||
|
|
|
@ -77,9 +77,9 @@ anchor_top = 0.5
|
|||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -511.401
|
||||
margin_top = -300.757
|
||||
margin_top = -301.225
|
||||
margin_right = 512.599
|
||||
margin_bottom = 299.243
|
||||
margin_bottom = 298.775
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
@ -150,6 +150,7 @@ margin_top = -1.0
|
|||
margin_right = 16.0
|
||||
margin_bottom = 1.0
|
||||
rect_rotation = 45.3067
|
||||
rect_scale = Vector2( 1, 0.5 )
|
||||
rect_pivot_offset = Vector2( -8, 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
|
@ -161,6 +162,7 @@ margin_top = -1.0
|
|||
margin_right = 16.0
|
||||
margin_bottom = 1.0
|
||||
rect_rotation = 135.307
|
||||
rect_scale = Vector2( 1, 0.5 )
|
||||
rect_pivot_offset = Vector2( -8, 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
|
@ -172,6 +174,7 @@ margin_top = -1.0
|
|||
margin_right = 16.0
|
||||
margin_bottom = 1.0
|
||||
rect_rotation = 225.306
|
||||
rect_scale = Vector2( 1, 0.5 )
|
||||
rect_pivot_offset = Vector2( -8, 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
|
@ -183,6 +186,7 @@ margin_top = -1.0
|
|||
margin_right = 16.0
|
||||
margin_bottom = 1.0
|
||||
rect_rotation = -44.6931
|
||||
rect_scale = Vector2( 1, 0.5 )
|
||||
rect_pivot_offset = Vector2( -8, 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
|
|
Loading…
Reference in New Issue