39 lines
2.0 KiB
Plaintext
39 lines
2.0 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://sg32m1625cf1"]
|
|
|
|
[ext_resource type="Script" uid="uid://ddhax8toglydh" path="res://scenes_n_others/weapon_space.gd" id="1_d3o8u"]
|
|
[ext_resource type="ArrayMesh" uid="uid://b0bpewh1j5jae" path="res://assets/space-kit/OBJ format/weapon_gun.obj" id="1_rgu65"]
|
|
[ext_resource type="PackedScene" uid="uid://dh8grd7s3n8kg" path="res://addons/godot-xr-tools/objects/grab_points/grab_point_snap.tscn" id="2_h33sf"]
|
|
[ext_resource type="PackedScene" uid="uid://c25yxb0vt53vc" path="res://addons/godot-xr-tools/objects/grab_points/grab_point_hand_left.tscn" id="3_eaic3"]
|
|
[ext_resource type="PackedScene" uid="uid://ctw7nbntd5pcj" path="res://addons/godot-xr-tools/objects/grab_points/grab_point_hand_right.tscn" id="5_3u3me"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_8xr0v"]
|
|
size = Vector3(0.11715698, 0.24027252, 0.3816223)
|
|
|
|
[node name="WeaponSpace" type="Node3D"]
|
|
script = ExtResource("1_d3o8u")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, 0, -0.091682956, 0)
|
|
collision_mask = 7
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0016326904, 0.11148453, -0.0022125244)
|
|
shape = SubResource("BoxShape3D_8xr0v")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D"]
|
|
mesh = ExtResource("1_rgu65")
|
|
skeleton = NodePath("../..")
|
|
|
|
[node name="GrabPointSnap" parent="." instance=ExtResource("2_h33sf")]
|
|
|
|
[node name="GrabPointHandLeft" parent="." instance=ExtResource("3_eaic3")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.035, 0.09, 0.01)
|
|
|
|
[node name="GrabPointHandRight" parent="." instance=ExtResource("5_3u3me")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.035, 0.09, 0.01)
|
|
|
|
[node name="RayCast3D" type="RayCast3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.06260185, -0.16936289)
|
|
target_position = Vector3(0, 0, -5)
|
|
collision_mask = 3
|