mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 17:13:44 +00:00
04691aaa48
Lands the non-networked Phase 0 tasks from multiplayer-todo.md (ship/camera/ arena refactors, sim constants, background FPS handling) plus a first pass at exposing graphics/performance settings (presets, resolution scaling, vsync, FPS cap, perf overlay) and a GPU profiling harness for the real-hardware follow-up in task 0.15b.
32 lines
983 B
Plaintext
32 lines
983 B
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://27u3tdc5yqnl"]
|
|
|
|
[ext_resource type="ArrayMesh" path="res://assets/models/ball.res" id="1_ball"]
|
|
[ext_resource type="Script" path="res://scripts/ball.gd" id="2_ball"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_c5p07"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_ball"]
|
|
bounce = 0.5
|
|
friction = 0.4
|
|
|
|
[node name="Ball" type="RigidBody3D" groups=["ball"]]
|
|
collision_layer = 2
|
|
collision_mask = 13
|
|
mass = 3
|
|
physics_material_override = SubResource("PhysicsMaterial_ball")
|
|
continuous_cd = true
|
|
can_sleep = false
|
|
inertia = Vector3(3, 3, 3)
|
|
gravity_scale = 0.8
|
|
linear_damp = 0.1
|
|
angular_damp = 0.1
|
|
script = ExtResource("2_ball")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("SphereShape3D_c5p07")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
|
mesh = ExtResource("1_ball")
|