Set up shadow for survivors, robot
Added sprite3D shadows to character scenes.
This commit is contained in:
parent
2f6242e2c5
commit
8aa2489e93
7 changed files with 58 additions and 3 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[ext_resource type="Texture2D" uid="uid://ba2ywy388r8g1" path="res://images/bot.png" id="1_br0rw"]
|
||||
[ext_resource type="Script" uid="uid://c0ii52yy7qbcu" path="res://scenes/robot.gd" id="1_ykvnc"]
|
||||
[ext_resource type="Texture2D" uid="uid://cq5uwykwt0mpl" path="res://images/shadow.png" id="3_i42o3"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ykvnc"]
|
||||
height = 1.8903809
|
||||
|
|
@ -15,6 +16,12 @@ billboard = 1
|
|||
texture_filter = 0
|
||||
texture = ExtResource("1_br0rw")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="Sprite3D" unique_id=1027247402]
|
||||
transform = Transform3D(0.75000006, 0, 0, 0, -3.2783543e-08, -0.75000006, 0, 0.75000006, -3.2783543e-08, 0.012311629, -0.59681433, 0)
|
||||
visible = false
|
||||
texture_filter = 0
|
||||
texture = ExtResource("3_i42o3")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=94553291]
|
||||
transform = Transform3D(1.25, 0, 0, 0, 1.25, 0, 0, 0, 1.25, 0, 0.29987764, 0)
|
||||
shape = SubResource("CylinderShape3D_ykvnc")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue