48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://scripts/rover.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="CylinderShape" id=13]
|
|
radius = 2.98085
|
|
|
|
[sub_resource type="CubeMesh" id=2]
|
|
size = Vector3( 6, 2, 6 )
|
|
|
|
[sub_resource type="SpatialMaterial" id=12]
|
|
albedo_color = Color( 0.627451, 0.156863, 0.156863, 1 )
|
|
|
|
[sub_resource type="BoxShape" id=9]
|
|
extents = Vector3( 2.90757, 1, 2.12399 )
|
|
|
|
[node name="rover" type="RigidBody"]
|
|
can_sleep = false
|
|
axis_lock_linear_y = true
|
|
axis_lock_angular_x = true
|
|
axis_lock_angular_y = true
|
|
axis_lock_angular_z = true
|
|
linear_damp = 5.0
|
|
angular_damp = 5.0
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
shape = SubResource( 13 )
|
|
|
|
[node name="visual" type="Spatial" parent="."]
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="visual"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
mesh = SubResource( 2 )
|
|
skeleton = NodePath("../../..")
|
|
material/0 = SubResource( 12 )
|
|
|
|
[node name="interact_box" type="Area" parent="visual"]
|
|
unique_name_in_owner = true
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -3.96067 )
|
|
collision_layer = 4
|
|
collision_mask = 8
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="visual/interact_box"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.39215 )
|
|
shape = SubResource( 9 )
|