60 lines
2.2 KiB
Text
60 lines
2.2 KiB
Text
[gd_scene load_steps=11 format=3 uid="uid://clta811tt773x"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c8l60rnugru40" path="res://addons/godot-xr-tools/objects/pickable.tscn" id="1"]
|
|
[ext_resource type="Material" path="res://assets/wahooney.itch.io/brown_grid_triplanar.tres" id="2"]
|
|
[ext_resource type="PackedScene" uid="uid://c25yxb0vt53vc" path="res://addons/godot-xr-tools/objects/grab_points/grab_point_hand_left.tscn" id="2_qhto0"]
|
|
[ext_resource type="Script" path="res://addons/godot-xr-tools/objects/highlight/highlight_visible.gd" id="3"]
|
|
[ext_resource type="PackedScene" uid="uid://ctw7nbntd5pcj" path="res://addons/godot-xr-tools/objects/grab_points/grab_point_hand_right.tscn" id="3_0q4lf"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_bv5s3"]
|
|
bounce = 0.8
|
|
|
|
[sub_resource type="SphereShape3D" id="2"]
|
|
margin = 0.01
|
|
radius = 0.2
|
|
|
|
[sub_resource type="SphereMesh" id="3"]
|
|
radius = 0.2
|
|
height = 0.4
|
|
radial_segments = 16
|
|
rings = 7
|
|
|
|
[sub_resource type="SphereMesh" id="4"]
|
|
flip_faces = true
|
|
radius = 0.21
|
|
height = 0.42
|
|
radial_segments = 16
|
|
rings = 7
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qeoic"]
|
|
shading_mode = 0
|
|
albedo_color = Color(1, 1, 0, 1)
|
|
|
|
[node name="GrabBall" instance=ExtResource("1")]
|
|
collision_mask = 720903
|
|
mass = 10.0
|
|
physics_material_override = SubResource("PhysicsMaterial_bv5s3")
|
|
ranged_grab_method = 2
|
|
second_hand_grab = 2
|
|
|
|
[node name="GrabPointHandLeft" parent="." index="0" instance=ExtResource("2_qhto0")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.19, 0.04, -0.065)
|
|
|
|
[node name="GrabPointHandRight" parent="." index="1" instance=ExtResource("3_0q4lf")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.19, 0.04, -0.065)
|
|
visible = true
|
|
|
|
[node name="CollisionShape3D" parent="." index="2"]
|
|
shape = SubResource("2")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="." index="3"]
|
|
mesh = SubResource("3")
|
|
surface_material_override/0 = ExtResource("2")
|
|
|
|
[node name="GrabHighlight" type="Node3D" parent="." index="4"]
|
|
script = ExtResource("3")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="GrabHighlight" index="0"]
|
|
mesh = SubResource("4")
|
|
skeleton = NodePath("../../MeshInstance3D")
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_qeoic")
|