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://1fl6s352e2ej"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://1fl6s352e2ej"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dj28ol2cpeiwm" path="res://src/items/throwable/ThrowableItem.cs" id="1_nac2l"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_h33kk"]
|
||||
height = 0.725098
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_03cqg"]
|
||||
size = Vector3(0.778381, 0.929947, 0.731567)
|
||||
|
||||
[node name="ThrowableItem" type="Node3D"]
|
||||
[node name="ThrowableItem" 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_nac2l")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.00908482, 0)
|
||||
shape = SubResource("CylinderShape3D_h33kk")
|
||||
|
||||
[node name="Pickup" type="Area3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
collision_layer = 4
|
||||
|
||||
Reference in New Issue
Block a user