You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
611 B
18 lines
611 B
|
3 weeks ago
|
[gd_scene load_steps=4 format=3 uid="uid://hd6pq287rgye"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://ccnnd0y4jqiot" path="res://level/scripts/world_weapon.gd" id="1"]
|
||
|
|
[ext_resource type="Resource" uid="uid://pqoldmf2q3t6" path="res://level/resources/weapon_testsword.tres" id="2_vcb1s"]
|
||
|
|
|
||
|
|
[sub_resource type="BoxShape3D" id="1"]
|
||
|
|
size = Vector3(0.3, 0.3, 1.2)
|
||
|
|
|
||
|
|
[node name="WorldWeaponSword" type="RigidBody3D"]
|
||
|
|
collision_layer = 4
|
||
|
|
collision_mask = 2
|
||
|
|
mass = 2.0
|
||
|
|
script = ExtResource("1")
|
||
|
|
weapon_data = ExtResource("2_vcb1s")
|
||
|
|
|
||
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||
|
|
shape = SubResource("1")
|