X-Git-Url: http://git.purplebirdman.com/baabarian.git/blobdiff_plain/7d920321687181d56ea93ea0402e767fb4096051..87f90ed1d61c12766366f39de1ee2c0213ffbe1f:/cube.tscn diff --git a/cube.tscn b/cube.tscn index 0976e80..e72d8af 100644 --- a/cube.tscn +++ b/cube.tscn @@ -1,9 +1,15 @@ -[gd_scene load_steps=2 format=3 uid="uid://bx83k2u0snfjc"] +[gd_scene load_steps=3 format=3 uid="uid://bx83k2u0snfjc"] [sub_resource type="BoxMesh" id="BoxMesh_xc3wn"] +size = Vector3(2, 2, 2) -[node name="Cube" type="Node3D"] +[sub_resource type="BoxShape3D" id="BoxShape3D_xc3wn"] +size = Vector3(2, 2, 2) + +[node name="Cube" type="RigidBody3D"] [node name="MeshInstance3D" type="MeshInstance3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0) mesh = SubResource("BoxMesh_xc3wn") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="."] +shape = SubResource("BoxShape3D_xc3wn")