[gd_scene load_steps=6 format=2] [ext_resource path="res://scripts/rover.gd" type="Script" id=1] [ext_resource path="res://assets/moon_buggy/Beetle IX.tscn" type="PackedScene" id=2] [sub_resource type="CylinderShape" id=13] radius = 2.98085 [sub_resource type="BoxShape" id=9] extents = Vector3( 2.90757, 1, 2.12399 ) [sub_resource type="BoxShape" id=14] extents = Vector3( 1.87657, 1, 1 ) [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="."] transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0 ) [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, -5.15549 ) 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 ) [node name="BeetleIX" parent="visual" instance=ExtResource( 2 )] transform = Transform( 2.3073, 0, 0, 0, 2.3073, 0, 0, 0, 2.3073, 0, 0, 0 ) [node name="exit_interact_box" type="Area" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 2.37673, 0, 1, 1.02186 ) collision_layer = 2 collision_mask = 64 [node name="CollisionShape" type="CollisionShape" parent="exit_interact_box"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.383553 ) shape = SubResource( 14 ) [connection signal="area_entered" from="exit_interact_box" to="." method="_on_exit_interact_box_area_entered"]