[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://scripts/objective.gd" type="Script" id=1]
|
|
[ext_resource path="res://assets/objective.obj" type="ArrayMesh" id=2]
|
|
[ext_resource path="res://assets/DejaVuSansMono.ttf" type="DynamicFontData" id=3]
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
|
|
extents = Vector3( 7, 0.25, 7 )
|
|
|
|
[sub_resource type="SpatialMaterial" id=2]
|
|
|
|
render_priority = 0
|
|
flags_transparent = false
|
|
flags_unshaded = false
|
|
flags_vertex_lighting = false
|
|
flags_no_depth_test = false
|
|
flags_use_point_size = false
|
|
flags_world_triplanar = false
|
|
flags_fixed_size = false
|
|
flags_albedo_tex_force_srgb = false
|
|
vertex_color_use_as_albedo = false
|
|
vertex_color_is_srgb = false
|
|
params_diffuse_mode = 0
|
|
params_specular_mode = 0
|
|
params_blend_mode = 0
|
|
params_cull_mode = 0
|
|
params_depth_draw_mode = 0
|
|
params_line_width = 1.0
|
|
params_point_size = 1.0
|
|
params_billboard_mode = 0
|
|
params_grow = false
|
|
params_use_alpha_scissor = false
|
|
albedo_color = Color( 1, 1, 1, 1 )
|
|
metallic = 0.0
|
|
metallic_specular = 0.5
|
|
metallic_texture_channel = 0
|
|
roughness = 0.0
|
|
roughness_texture_channel = 0
|
|
emission_enabled = false
|
|
normal_enabled = false
|
|
rim_enabled = false
|
|
clearcoat_enabled = false
|
|
anisotropy_enabled = false
|
|
ao_enabled = false
|
|
depth_enabled = false
|
|
subsurf_scatter_enabled = false
|
|
transmission_enabled = false
|
|
refraction_enabled = false
|
|
detail_enabled = false
|
|
uv1_scale = Vector3( 1, 1, 1 )
|
|
uv1_offset = Vector3( 0, 0, 0 )
|
|
uv1_triplanar = false
|
|
uv1_triplanar_sharpness = 1.0
|
|
uv2_scale = Vector3( 1, 1, 1 )
|
|
uv2_offset = Vector3( 0, 0, 0 )
|
|
uv2_triplanar = false
|
|
uv2_triplanar_sharpness = 1.0
|
|
proximity_fade_enable = false
|
|
distance_fade_enable = false
|
|
|
|
[sub_resource type="CapsuleShape" id=3]
|
|
|
|
radius = 0.5
|
|
height = 14.0
|
|
|
|
[sub_resource type="DynamicFont" id=4]
|
|
|
|
size = 50
|
|
use_mipmaps = false
|
|
use_filter = false
|
|
font_data = ExtResource( 3 )
|
|
|
|
[node name="FullObjective" type="Spatial"]
|
|
|
|
[node name="Objective" type="RigidBody" parent="." index="0"]
|
|
|
|
input_ray_pickable = true
|
|
input_capture_on_drag = false
|
|
collision_layer = 1
|
|
collision_mask = 2
|
|
mode = 0
|
|
mass = 1000.0
|
|
friction = 1.0
|
|
bounce = 0.0
|
|
gravity_scale = 1.0
|
|
custom_integrator = false
|
|
continuous_cd = true
|
|
contacts_reported = 8
|
|
contact_monitor = true
|
|
sleeping = false
|
|
can_sleep = true
|
|
axis_lock_linear_x = false
|
|
axis_lock_linear_y = false
|
|
axis_lock_linear_z = false
|
|
axis_lock_angular_x = false
|
|
axis_lock_angular_y = false
|
|
axis_lock_angular_z = false
|
|
linear_velocity = Vector3( 0, 0, 0 )
|
|
linear_damp = -1.0
|
|
angular_velocity = Vector3( 0, 0, 0 )
|
|
angular_damp = -1.0
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Objective" index="0"]
|
|
|
|
shape = SubResource( 1 )
|
|
disabled = false
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="Objective" index="1"]
|
|
|
|
layers = 1
|
|
material_override = null
|
|
cast_shadow = 1
|
|
extra_cull_margin = 0.0
|
|
use_in_baked_light = false
|
|
lod_min_distance = 0.0
|
|
lod_min_hysteresis = 0.0
|
|
lod_max_distance = 0.0
|
|
lod_max_hysteresis = 0.0
|
|
mesh = ExtResource( 2 )
|
|
skeleton = NodePath("..")
|
|
material/0 = SubResource( 2 )
|
|
|
|
[node name="HingeJoint" type="HingeJoint" parent="." index="1"]
|
|
|
|
transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 0, -0.25, 0 )
|
|
nodes/node_a = NodePath("../Objective")
|
|
nodes/node_b = NodePath("../Rod")
|
|
solver/priority = 1
|
|
collision/exclude_nodes = true
|
|
params/bias = 0.3
|
|
angular_limit/enable = false
|
|
angular_limit/upper = 90.0
|
|
angular_limit/lower = -90.0
|
|
angular_limit/bias = 0.3
|
|
angular_limit/softness = 0.9
|
|
angular_limit/relaxation = 1.0
|
|
motor/enable = false
|
|
motor/target_velocity = 1.0
|
|
motor/max_impulse = 1.0
|
|
|
|
[node name="Rod" type="StaticBody" parent="." index="2"]
|
|
|
|
transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 0, -0.75, 0 )
|
|
input_ray_pickable = true
|
|
input_capture_on_drag = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
friction = 1.0
|
|
bounce = 0.0
|
|
constant_linear_velocity = Vector3( 0, 0, 0 )
|
|
constant_angular_velocity = Vector3( 0, 0, 0 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Rod" index="0"]
|
|
|
|
shape = SubResource( 3 )
|
|
disabled = false
|
|
|
|
[node name="HUD" type="Control" parent="." index="3"]
|
|
|
|
anchor_left = 0.5
|
|
anchor_top = 0.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.0
|
|
margin_left = -20.0
|
|
margin_right = 20.0
|
|
margin_bottom = 40.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="HUD" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = -35.0
|
|
margin_top = 18.0
|
|
margin_right = 95.0
|
|
margin_bottom = 57.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
color = Color( 0, 0, 0, 0.3 )
|
|
|
|
[node name="LeftTeam" type="Label" parent="HUD" index="1"]
|
|
|
|
anchor_left = 0.5
|
|
anchor_top = 0.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.0
|
|
margin_left = -47.0
|
|
margin_top = 32.0
|
|
margin_right = -7.0
|
|
margin_bottom = 63.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
text = "0%"
|
|
align = 1
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="RightTeam" type="Label" parent="HUD" index="2"]
|
|
|
|
anchor_left = 0.5
|
|
anchor_top = 0.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.0
|
|
margin_left = 29.0
|
|
margin_top = 30.0
|
|
margin_right = 69.0
|
|
margin_bottom = 44.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
text = "0%"
|
|
align = 1
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[node name="Finish" type="Label" parent="HUD" index="3"]
|
|
|
|
anchor_left = 0.5
|
|
anchor_top = 0.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.0
|
|
margin_left = -14.0
|
|
margin_top = 83.0
|
|
margin_right = 26.0
|
|
margin_bottom = 97.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 4
|
|
custom_fonts/font = SubResource( 4 )
|
|
custom_colors/font_color = Color( 0.0898438, 0.0898438, 0.0898438, 1 )
|
|
align = 1
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
|