Skip to content

Commit

Permalink
Merge pull request #48 from patrickdown/cleanup-plugin-directories
Browse files Browse the repository at this point in the history
Cleanup plugin directory
  • Loading branch information
patrickdown authored Nov 24, 2023
2 parents dce8720 + 11163e7 commit b7fb5ae
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 65 deletions.
30 changes: 0 additions & 30 deletions example.gd/addons/tiltfive/scenes/helpers/PushBodyBase.gd

This file was deleted.

13 changes: 0 additions & 13 deletions example.gd/addons/tiltfive/scenes/helpers/PushBodyBase.tscn

This file was deleted.

14 changes: 7 additions & 7 deletions example.gd/main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[ext_resource type="Script" path="res://main.gd" id="1_xvgge"]
[ext_resource type="Script" path="res://addons/tiltfive/T5Manager.gd" id="2_dibvp"]
[ext_resource type="PackedScene" uid="uid://dl3mv76qkuscf" path="res://ExampleXRRig.tscn" id="3_i6xar"]
[ext_resource type="Script" path="res://addons/tiltfive/scenes/helpers/SelectableBody.gd" id="3_jespo"]
[ext_resource type="Material" uid="uid://blq3i2qbhoyum" path="res://addons/tiltfive/materials/highlight_overlay_material.tres" id="5_cq8r1"]
[ext_resource type="PackedScene" uid="uid://dl3mv76qkuscf" path="res://scenes/ExampleXRRig.tscn" id="3_8a4oa"]
[ext_resource type="Script" path="res://scenes/SelectableBody.gd" id="4_wxdse"]
[ext_resource type="Material" uid="uid://blq3i2qbhoyum" path="res://materials/highlight_overlay_material.tres" id="5_2i4f6"]

[sub_resource type="BoxMesh" id="BoxMesh_gbwc2"]

Expand Down Expand Up @@ -39,7 +39,7 @@ script = ExtResource("1_xvgge")

[node name="T5Manager" type="Node" parent="." node_paths=PackedStringArray("start_location")]
script = ExtResource("2_dibvp")
glasses_scene = ExtResource("3_i6xar")
glasses_scene = ExtResource("3_8a4oa")
start_location = NodePath("../T5Gameboard")

[node name="T5Gameboard" type="T5Gameboard" parent="."]
Expand All @@ -51,11 +51,11 @@ transform = Transform3D(0.952497, -0.0534809, 0.299816, -0.283211, 0.206458, 0.9
[node name="Boxes" type="Node3D" parent="."]

[node name="CenterBody" type="StaticBody3D" parent="Boxes"]
script = ExtResource("3_jespo")
script = ExtResource("4_wxdse")
grow_amount = 0.05

[node name="Center" type="MeshInstance3D" parent="Boxes/CenterBody"]
material_overlay = ExtResource("5_cq8r1")
material_overlay = ExtResource("5_2i4f6")
mesh = SubResource("BoxMesh_gbwc2")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_iuako")
Expand All @@ -65,7 +65,7 @@ shape = SubResource("BoxShape3D_pbofy")

[node name="PositiveYBody" type="StaticBody3D" parent="Boxes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
script = ExtResource("3_jespo")
script = ExtResource("4_wxdse")
grow_amount = 0.05

[node name="Positive Y" type="MeshInstance3D" parent="Boxes/PositiveYBody"]
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[gd_scene load_steps=17 format=3 uid="uid://dl3mv76qkuscf"]

[ext_resource type="Script" path="res://XROrigin3D.gd" id="1_qprko"]
[ext_resource type="PackedScene" uid="uid://je0clrdu7o76" path="res://addons/tiltfive/scenes/T5XRRig.tscn" id="1_uq4nw"]
[ext_resource type="Script" path="res://pointer_control.gd" id="2_qcruj"]
[ext_resource type="PackedScene" uid="uid://dnx42xctfl3mx" path="res://Controls.tscn" id="3_udc3i"]
[ext_resource type="PackedScene" uid="uid://b1cd3jc00rhal" path="res://addons/tiltfive/assets/T5GlassesModel.tscn" id="3_xuir6"]
[ext_resource type="Script" path="res://addons/tiltfive/scenes/T5Pointer.gd" id="5_j0d0b"]
[ext_resource type="PackedScene" uid="uid://fipea8dbocg4" path="res://addons/tiltfive/assets/T5WandModel.tscn" id="5_u5ikf"]
[ext_resource type="PackedScene" uid="uid://je0clrdu7o76" path="res://addons/tiltfive/scenes/T5XRRig.tscn" id="1_mer1r"]
[ext_resource type="Script" path="res://scenes/XROrigin3D.gd" id="2_ovq7h"]
[ext_resource type="PackedScene" uid="uid://b1cd3jc00rhal" path="res://addons/tiltfive/assets/T5GlassesModel.tscn" id="3_dh820"]
[ext_resource type="Script" path="res://scenes/pointer_control.gd" id="4_bhwvx"]
[ext_resource type="Script" path="res://scenes/T5Pointer.gd" id="5_1korn"]
[ext_resource type="PackedScene" uid="uid://fipea8dbocg4" path="res://addons/tiltfive/assets/T5WandModel.tscn" id="6_mg3yb"]
[ext_resource type="PackedScene" uid="uid://dnx42xctfl3mx" path="res://scenes/Controls.tscn" id="7_p34a2"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cgatm"]
albedo_color = Color(0.0823529, 0.243137, 1, 1)
Expand All @@ -31,28 +31,28 @@ albedo_color = Color(0.862745, 0, 0.0235294, 1)

[sub_resource type="BoxMesh" id="BoxMesh_aaxuw"]

[node name="T5Glasses" instance=ExtResource("1_uq4nw")]
[node name="T5Glasses" instance=ExtResource("1_mer1r")]

[node name="Origin" parent="." index="0"]
script = ExtResource("1_qprko")
script = ExtResource("2_ovq7h")

[node name="T5-glasses" parent="Origin/Camera" index="0" instance=ExtResource("3_xuir6")]
[node name="T5-glasses" parent="Origin/Camera" index="0" instance=ExtResource("3_dh820")]
transform = Transform3D(16, 0, 0, 0, 16, 0, 0, 0, 16, 0, 0, 0)

[node name="Wand_1" parent="Origin" index="1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0)
script = ExtResource("2_qcruj")
script = ExtResource("4_bhwvx")
selected_mat = SubResource("StandardMaterial3D_cgatm")
unselected_mat = SubResource("StandardMaterial3D_vjp8o")

[node name="RayCast3D" type="RayCast3D" parent="Origin/Wand_1" index="0"]
target_position = Vector3(0, 0, -100)
script = ExtResource("5_j0d0b")
script = ExtResource("5_1korn")

[node name="T5-wand" parent="Origin/Wand_1" index="1" instance=ExtResource("5_u5ikf")]
[node name="T5-wand" parent="Origin/Wand_1" index="1" instance=ExtResource("6_mg3yb")]
transform = Transform3D(16, 0, 0, 0, 16, 0, 0, 0, 16, 0, 0, 0)

[node name="Controls" parent="Origin/Wand_1" index="2" instance=ExtResource("3_udc3i")]
[node name="Controls" parent="Origin/Wand_1" index="2" instance=ExtResource("7_p34a2")]
transform = Transform3D(10, 0, 0, 0, 10, 0, 0, 0, 10, 0.583, -0.002, 0.01)

[node name="Center" type="MeshInstance3D" parent="Origin/Wand_1" index="3"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var highlight_material : StandardMaterial3D
var pointers_entered : Array

func _ready():
var material : StandardMaterial3D = preload("res://addons/tiltfive/materials/highlight_overlay_material.tres")
var material : StandardMaterial3D = preload("res://materials/highlight_overlay_material.tres")
highlight_material = material.duplicate(true)
highlight_material.grow_amount = grow_amount

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b7fb5ae

Please sign in to comment.