immersive-home/app/addons/godot-xr-tools/functions/movement_grapple.tscn

29 lines
1.0 KiB
Plaintext
Raw Normal View History

2023-10-16 20:10:20 +03:00
[gd_scene load_steps=4 format=3 uid="uid://c78tjrtiyqna8"]
[ext_resource type="Script" path="res://addons/godot-xr-tools/functions/movement_grapple.gd" id="1"]
[ext_resource type="Material" path="res://addons/godot-xr-tools/materials/pointer.tres" id="2_n6olo"]
[sub_resource type="BoxMesh" id="1"]
resource_local_to_scene = true
size = Vector3(0.05, 0.05, 0.05)
subdivide_depth = 20
[node name="MovementGrapple" type="Node3D" groups=["movement_providers"]]
script = ExtResource("1")
[node name="Grapple_RayCast" type="RayCast3D" parent="."]
collision_mask = 3
debug_shape_custom_color = Color(0.862745, 0.278431, 0.278431, 1)
debug_shape_thickness = 1
[node name="Grapple_Target" type="MeshInstance3D" parent="."]
visible = false
mesh = SubResource("1")
surface_material_override/0 = ExtResource("2_n6olo")
[node name="LineHelper" type="Node3D" parent="."]
[node name="Line" type="CSGCylinder3D" parent="LineHelper"]
transform = Transform3D(1.91069e-15, 4.37114e-08, 1, 1, -4.37114e-08, 0, 4.37114e-08, 1, -4.37114e-08, 0, 0, 0)
radius = 0.02