forked from GodotVR/godot-xr-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolved conflict with GodotVR#401 merge
- Loading branch information
1 parent
eb2657a
commit 843e6d1
Showing
3 changed files
with
58 additions
and
36 deletions.
There are no files selected for viewing
24 changes: 8 additions & 16 deletions
24
addons/godot-xr-tools/objects/inventory/BackpackSnapZone.tscn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,19 @@ | ||
[gd_scene load_steps=5 format=2] | ||
[gd_scene load_steps=3 format=2] | ||
|
||
[ext_resource path="res://addons/godot-xr-tools/objects/highlight/highlight_ring.tscn" type="PackedScene" id=1] | ||
[ext_resource path="res://addons/godot-xr-tools/objects/inventory/textures/ring_small.png" type="Texture" id=1] | ||
[ext_resource path="res://addons/godot-xr-tools/objects/snap_zone.tscn" type="PackedScene" id=2] | ||
|
||
[sub_resource type="SpatialMaterial" id=1] | ||
flags_transparent = true | ||
params_cull_mode = 1 | ||
albedo_color = Color( 0.0627451, 0.905882, 0.886275, 0.545098 ) | ||
|
||
[sub_resource type="SphereMesh" id=2] | ||
material = SubResource( 1 ) | ||
radius = 0.05 | ||
height = 0.1 | ||
radial_segments = 32 | ||
rings = 16 | ||
|
||
[node name="BackpackSnapZone" groups=["ShoulderHolster"] instance=ExtResource( 2 )] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.3, 0.3 ) | ||
grab_distance = 0.1 | ||
snap_require = "Backpack" | ||
|
||
[node name="Sphere" type="MeshInstance" parent="." index="1"] | ||
cast_shadow = 0 | ||
mesh = SubResource( 2 ) | ||
|
||
[node name="HighlightRing" parent="." index="2" instance=ExtResource( 1 )] | ||
[node name="HighlightRing" type="Sprite3D" parent="." index="2"] | ||
transform = Transform( 0.075, 0, 0, 0, -3.27835e-09, -1, 0, 0.075, -4.37114e-08, 0, 0, 0 ) | ||
texture = ExtResource( 1 ) | ||
__meta__ = { | ||
"_editor_description_": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters