dynamic_box.tscn 301 B

12345678910
  1. [gd_scene load_steps=2 format=3 uid="uid://gk0nqu0jrwm"]
  2. [sub_resource type="RectangleShape2D" id="1"]
  3. size = Vector2(40, 40)
  4. [node name="StackBox" type="RigidDynamicBody2D"]
  5. position = Vector2(-180, -20)
  6. [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
  7. shape = SubResource( "1" )