Added dart board that the dart can get stuck too.

The prototype of the dart board was added to the main scene. Added and
area 3D to the dart board with the group dartable so that the added ray
on the end of the dart can collide with the board. Also added a button
to change camera angles using the c key. The dart only sticks to a
cylinder added to the board so there is no way to detect where and which
segment the dart's ray is currently stuck to.
This commit is contained in:
ced
2026-07-07 14:47:34 -05:00
parent 5e2c395a88
commit 66f3c13d61
19 changed files with 57 additions and 57 deletions
+3 -3
View File
@@ -4,12 +4,12 @@ importer="scene"
importer_version=1
type="PackedScene"
uid="uid://c7ysojicqbx2v"
path="res://.godot/imported/Dartboard-Proto.glb-f1487085b0c09a3b97c6aa8be3864f01.scn"
path="res://.godot/imported/Dartboard-Proto.glb-07b05da7855d19179cd4c8d9bf1e961a.scn"
[deps]
source_file="res://Models/Dartboard/Dartboard-Proto.glb"
dest_files=["res://.godot/imported/Dartboard-Proto.glb-f1487085b0c09a3b97c6aa8be3864f01.scn"]
source_file="res://models/Dartboard/Dartboard-Proto.glb"
dest_files=["res://.godot/imported/Dartboard-Proto.glb-07b05da7855d19179cd4c8d9bf1e961a.scn"]
[params]
@@ -3,7 +3,7 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dk6gnbvgumq7c"
path.s3tc="res://.godot/imported/Dartboard-Proto_Cork.png-9700f4c0b675dee65dc4e1c14aa931b3.s3tc.ctex"
path.s3tc="res://.godot/imported/Dartboard-Proto_Cork.png-f6ca98f1a3e5263177736c84c407eac1.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
@@ -14,8 +14,8 @@ generator_parameters={
[deps]
source_file="res://Models/Dartboard/Dartboard-Proto_Cork.png"
dest_files=["res://.godot/imported/Dartboard-Proto_Cork.png-9700f4c0b675dee65dc4e1c14aa931b3.s3tc.ctex"]
source_file="res://models/Dartboard/Dartboard-Proto_Cork.png"
dest_files=["res://.godot/imported/Dartboard-Proto_Cork.png-f6ca98f1a3e5263177736c84c407eac1.s3tc.ctex"]
[params]
@@ -3,7 +3,7 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://cs381hglod4k1"
path.s3tc="res://.godot/imported/Dartboard-Proto_Green.png-0f939f85106a12f4ae54352c096222a2.s3tc.ctex"
path.s3tc="res://.godot/imported/Dartboard-Proto_Green.png-1343c7dd3385278600e40228a331d6a5.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
@@ -14,8 +14,8 @@ generator_parameters={
[deps]
source_file="res://Models/Dartboard/Dartboard-Proto_Green.png"
dest_files=["res://.godot/imported/Dartboard-Proto_Green.png-0f939f85106a12f4ae54352c096222a2.s3tc.ctex"]
source_file="res://models/Dartboard/Dartboard-Proto_Green.png"
dest_files=["res://.godot/imported/Dartboard-Proto_Green.png-1343c7dd3385278600e40228a331d6a5.s3tc.ctex"]
[params]
@@ -3,7 +3,7 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://cvv4akpwsudu3"
path.s3tc="res://.godot/imported/Dartboard-Proto_Red.png-e757930c4a42a8dc67547b3409641a91.s3tc.ctex"
path.s3tc="res://.godot/imported/Dartboard-Proto_Red.png-2f5c85ebd09c13e9a8c29c036d146bf7.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
@@ -14,8 +14,8 @@ generator_parameters={
[deps]
source_file="res://Models/Dartboard/Dartboard-Proto_Red.png"
dest_files=["res://.godot/imported/Dartboard-Proto_Red.png-e757930c4a42a8dc67547b3409641a91.s3tc.ctex"]
source_file="res://models/Dartboard/Dartboard-Proto_Red.png"
dest_files=["res://.godot/imported/Dartboard-Proto_Red.png-2f5c85ebd09c13e9a8c29c036d146bf7.s3tc.ctex"]
[params]
+3 -3
View File
@@ -4,12 +4,12 @@ importer="scene"
importer_version=1
type="PackedScene"
uid="uid://6nml3641dpce"
path="res://.godot/imported/Dartboard.glb-35f0707e0e9b18915b2d48c5c14ac862.scn"
path="res://.godot/imported/Dartboard.glb-70a9ef107f397b7ec5b8defc699ed8f4.scn"
[deps]
source_file="res://Models/Dartboard/Dartboard.glb"
dest_files=["res://.godot/imported/Dartboard.glb-35f0707e0e9b18915b2d48c5c14ac862.scn"]
source_file="res://models/Dartboard/Dartboard.glb"
dest_files=["res://.godot/imported/Dartboard.glb-70a9ef107f397b7ec5b8defc699ed8f4.scn"]
[params]
+3 -3
View File
@@ -3,7 +3,7 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://ctr7mydgfca75"
path.s3tc="res://.godot/imported/Dartboard_Spider.png-3a7e01e42d10301e2794b3c6268069b4.s3tc.ctex"
path.s3tc="res://.godot/imported/Dartboard_Spider.png-ccb6376aa607c815653c986d40f57bd2.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
@@ -14,8 +14,8 @@ generator_parameters={
[deps]
source_file="res://Models/Dartboard/Dartboard_Spider.png"
dest_files=["res://.godot/imported/Dartboard_Spider.png-3a7e01e42d10301e2794b3c6268069b4.s3tc.ctex"]
source_file="res://models/Dartboard/Dartboard_Spider.png"
dest_files=["res://.godot/imported/Dartboard_Spider.png-ccb6376aa607c815653c986d40f57bd2.s3tc.ctex"]
[params]
+3 -3
View File
@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://b1vf3204p4ys6"
path="res://.godot/imported/Coffee.png-7ec89259677377dfb36274d8ce0e9258.ctex"
path="res://.godot/imported/Coffee.png-2f72aea401e4bc7da80c7f912a84a834.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Models/Dartboard/Textures/Coffee.png"
dest_files=["res://.godot/imported/Coffee.png-7ec89259677377dfb36274d8ce0e9258.ctex"]
source_file="res://models/Dartboard/Textures/Coffee.png"
dest_files=["res://.godot/imported/Coffee.png-2f72aea401e4bc7da80c7f912a84a834.ctex"]
[params]
+3 -3
View File
@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://blvifdtblwcxg"
path="res://.godot/imported/Cork.png-8b577bb6a5aa8a82bae563118e794e18.ctex"
path="res://.godot/imported/Cork.png-70386af4271685d05fa3d5283f1971fb.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Models/Dartboard/Textures/Cork.png"
dest_files=["res://.godot/imported/Cork.png-8b577bb6a5aa8a82bae563118e794e18.ctex"]
source_file="res://models/Dartboard/Textures/Cork.png"
dest_files=["res://.godot/imported/Cork.png-70386af4271685d05fa3d5283f1971fb.ctex"]
[params]
+3 -3
View File
@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dxxon6pdl5aw4"
path="res://.godot/imported/Flowers.jpg-4755265eb848ca410e8aa3e15ab13280.ctex"
path="res://.godot/imported/Flowers.jpg-19c28aee85240c8ffd9c80787ef6fb0d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Models/Dartboard/Textures/Flowers.jpg"
dest_files=["res://.godot/imported/Flowers.jpg-4755265eb848ca410e8aa3e15ab13280.ctex"]
source_file="res://models/Dartboard/Textures/Flowers.jpg"
dest_files=["res://.godot/imported/Flowers.jpg-19c28aee85240c8ffd9c80787ef6fb0d.ctex"]
[params]
+3 -3
View File
@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://c2qvwu0v2uolj"
path="res://.godot/imported/Green.png-6f1f5b0c58d2ec51c6b638c11ba4264b.ctex"
path="res://.godot/imported/Green.png-eb27d74972834b4632d3203a5b38f965.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Models/Dartboard/Textures/Green.png"
dest_files=["res://.godot/imported/Green.png-6f1f5b0c58d2ec51c6b638c11ba4264b.ctex"]
source_file="res://models/Dartboard/Textures/Green.png"
dest_files=["res://.godot/imported/Green.png-eb27d74972834b4632d3203a5b38f965.ctex"]
[params]
+3 -3
View File
@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://b1lclw6s66ou7"
path="res://.godot/imported/Red.png-5fe46449e66850590891dfad1c596ebf.ctex"
path="res://.godot/imported/Red.png-e8ae9088a22ccb4fefc1b82ba8470c21.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Models/Dartboard/Textures/Red.png"
dest_files=["res://.godot/imported/Red.png-5fe46449e66850590891dfad1c596ebf.ctex"]
source_file="res://models/Dartboard/Textures/Red.png"
dest_files=["res://.godot/imported/Red.png-e8ae9088a22ccb4fefc1b82ba8470c21.ctex"]
[params]
+3 -3
View File
@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://b3qw07lguggu6"
path="res://.godot/imported/Spider.png-3f1c947c2e5bcf6b7d7e259d62e6005a.ctex"
path="res://.godot/imported/Spider.png-a8e04f1e7205fbfb2d0cd4a1c5915278.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Models/Dartboard/Textures/Spider.png"
dest_files=["res://.godot/imported/Spider.png-3f1c947c2e5bcf6b7d7e259d62e6005a.ctex"]
source_file="res://models/Dartboard/Textures/Spider.png"
dest_files=["res://.godot/imported/Spider.png-a8e04f1e7205fbfb2d0cd4a1c5915278.ctex"]
[params]
+3 -3
View File
@@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://ccoht16d1pkr3"
path="res://.godot/imported/Stars.jpg-9cc50027cae80115a1f7344b30169970.ctex"
path="res://.godot/imported/Stars.jpg-c1f1144d29f4cf5836c32017a9867b0b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Models/Dartboard/Textures/Stars.jpg"
dest_files=["res://.godot/imported/Stars.jpg-9cc50027cae80115a1f7344b30169970.ctex"]
source_file="res://models/Dartboard/Textures/Stars.jpg"
dest_files=["res://.godot/imported/Stars.jpg-c1f1144d29f4cf5836c32017a9867b0b.ctex"]
[params]