Add test shader for godrays, use rigidbodies to put all spawned items on the ground
This commit is contained in:
@@ -1,13 +1,26 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dorr7v1tkeiy0"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dorr7v1tkeiy0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bxvre2y2caa3h" path="res://src/items/armor/Armor.cs" id="1_cmjpq"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_e2a3b"]
|
||||
height = 0.725098
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_qdeu2"]
|
||||
size = Vector3(0.778381, 0.929947, 0.731567)
|
||||
|
||||
[node name="Armor" type="Node3D"]
|
||||
[node name="Armor" type="RigidBody3D"]
|
||||
collision_layer = 0
|
||||
axis_lock_linear_x = true
|
||||
axis_lock_linear_z = true
|
||||
axis_lock_angular_x = true
|
||||
axis_lock_angular_y = true
|
||||
axis_lock_angular_z = true
|
||||
script = ExtResource("1_cmjpq")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.00908482, 0)
|
||||
shape = SubResource("CylinderShape3D_e2a3b")
|
||||
|
||||
[node name="Pickup" type="Area3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
collision_layer = 4
|
||||
|
||||
Reference in New Issue
Block a user