Improved dart physics and made a restart button for debugging
This commit is contained in:
+6
-7
@@ -1,23 +1,22 @@
|
||||
[gd_scene format=3 uid="uid://bswbcehkkqbk0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://8kk531f88oqw" path="res://Scenes/DartPhysics.gd" id="1_s1kro"]
|
||||
[ext_resource type="PackedScene" uid="uid://cjq45anerhxnk" path="res://models/Dart.glb" id="2_mlvfh"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_xxti7"]
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_xxti7"]
|
||||
radius = 0.27441406
|
||||
height = 2.3862305
|
||||
|
||||
[node name="Dart" type="Node3D" unique_id=367982453]
|
||||
|
||||
[node name="RigidBody3D" type="RigidBody3D" parent="." unique_id=1993396351]
|
||||
mass = 100.0
|
||||
center_of_mass_mode = 1
|
||||
center_of_mass = Vector3(0, -0.1, 0)
|
||||
script = ExtResource("1_s1kro")
|
||||
angle_of_plane = -25.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D" unique_id=1030334431]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.10033989, 0)
|
||||
shape = SubResource("CapsuleShape3D_xxti7")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D/CollisionShape3D" unique_id=136997515]
|
||||
mesh = SubResource("CapsuleMesh_xxti7")
|
||||
skeleton = NodePath("")
|
||||
[node name="Dart2" parent="RigidBody3D" unique_id=1655536183 instance=ExtResource("2_mlvfh")]
|
||||
transform = Transform3D(0.4, 0, 0, 0, -0.4, 3.4969112e-08, 0, -3.4969112e-08, -0.4, 0, 1.609093, 0)
|
||||
|
||||
Reference in New Issue
Block a user