mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
26 lines
782 B
Plaintext
26 lines
782 B
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://p07epxnh8wwp"]
|
|
|
|
[ext_resource type="Script" uid="uid://dyq1n7q1bqjps" path="res://scripts/ship.gd" id="1_efag7"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_ship"]
|
|
friction = 0.1
|
|
bounce = 0.2
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_efag7"]
|
|
size = Vector3(1, 1, 4)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_dsjou"]
|
|
size = Vector3(1, 1, 4)
|
|
|
|
[node name="Ship" type="RigidBody3D"]
|
|
mass = 5.0
|
|
physics_material_override = SubResource("PhysicsMaterial_ship")
|
|
inertia = Vector3(1, 1, 1)
|
|
script = ExtResource("1_efag7")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("BoxMesh_efag7")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("BoxShape3D_dsjou")
|