generated from Persson-dev/Godot-Xmake
shooting pens (locally)
This commit is contained in:
BIN
godot/Assets/Models/Weapons/pen_base.res
LFS
Normal file
BIN
godot/Assets/Models/Weapons/pen_base.res
LFS
Normal file
Binary file not shown.
BIN
godot/Assets/Models/Weapons/pen_lid.res
LFS
Normal file
BIN
godot/Assets/Models/Weapons/pen_lid.res
LFS
Normal file
Binary file not shown.
19
godot/Scenes/Weapons/pen.tscn
Normal file
19
godot/Scenes/Weapons/pen.tscn
Normal file
@@ -0,0 +1,19 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://c475s3klxqoej"]
|
||||
|
||||
[ext_resource type="ArrayMesh" path="res://Assets/Models/Weapons/pen_base.res" id="1_clcko"]
|
||||
[ext_resource type="ArrayMesh" path="res://Assets/Models/Weapons/pen_lid.res" id="2_0u0nh"]
|
||||
|
||||
[node name="Stylo" type="Node3D"]
|
||||
|
||||
[node name="Armature" type="Node3D" parent="."]
|
||||
transform = Transform3D(5, 0, 0, 0, 0.0178025, -4.99997, 0, 4.99997, 0.0178025, 0, 0, -0.0892955)
|
||||
|
||||
[node name="pen_base" type="MeshInstance3D" parent="Armature"]
|
||||
transform = Transform3D(0.140708, 0, 0, 0, -1.67737e-08, 0.140708, 0, -0.140708, -1.67737e-08, -1.12406e-11, 0.00945318, -3.65384e-09)
|
||||
mesh = ExtResource("1_clcko")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="pen_lid" type="MeshInstance3D" parent="Armature/pen_base"]
|
||||
transform = Transform3D(1.14449, 0, 0, 0, 1.14449, 0, 0, 0, 1.14449, 7.98797e-11, 5.07782e-10, -0.0671831)
|
||||
mesh = ExtResource("2_0u0nh")
|
||||
skeleton = NodePath("")
|
||||
@@ -57,3 +57,8 @@ escape={
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
shoot={
|
||||
"deadzone": 0.5,
|
||||
"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":1,"canceled":false,"pressed":false,"double_click":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user