選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

33 行
1.0 KiB

  1. [gd_scene load_steps=6 format=2]
  2. [ext_resource path="res://jrpg/scripts/entities/crate.gd" type="Script" id=1]
  3. [ext_resource path="res://jrpg/scripts/entities/utils/trigger_relay.gd" type="Script" id=2]
  4. [sub_resource type="CubeMesh" id=1]
  5. size = Vector3( 1.5, 1.5, 1.5 )
  6. [sub_resource type="BoxShape" id=2]
  7. extents = Vector3( 0.75, 0.75, 0.75 )
  8. [sub_resource type="BoxShape" id=3]
  9. extents = Vector3( 0.75, 0.75, 0.75 )
  10. [node name="Crate" type="KinematicBody"]
  11. script = ExtResource( 1 )
  12. [node name="MeshInstance" type="MeshInstance" parent="."]
  13. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0 )
  14. mesh = SubResource( 1 )
  15. material/0 = null
  16. [node name="CollisionShape" type="CollisionShape" parent="."]
  17. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0 )
  18. shape = SubResource( 2 )
  19. [node name="InteractableArea" type="Area" parent="."]
  20. script = ExtResource( 2 )
  21. [node name="CollisionShape" type="CollisionShape" parent="InteractableArea"]
  22. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.75, 0 )
  23. shape = SubResource( 3 )