mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-07-13 02:53:48 +00:00
feat(*): Add much better ship controls
This commit is contained in:
+11
-3
@@ -1,12 +1,20 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://27u3tdc5yqnl"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://27u3tdc5yqnl"]
|
||||
|
||||
[ext_resource type="ArrayMesh" uid="uid://ucw1lyo43yi4" path="res://assets/models/gold_ball.res" id="1_ct1s3"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_c5p07"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_ball"]
|
||||
bounce = 0.8
|
||||
friction = 0.3
|
||||
|
||||
[node name="Ball" type="RigidBody3D"]
|
||||
mass = 100.0
|
||||
inertia = Vector3(100, 100, 100)
|
||||
mass = 3
|
||||
physics_material_override = SubResource("PhysicsMaterial_ball")
|
||||
inertia = Vector3(3, 3, 3)
|
||||
gravity_scale = 0.8
|
||||
linear_damp = 0.1
|
||||
angular_damp = 0.1
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
|
||||
Reference in New Issue
Block a user