diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2023-09-10 20:15:31 -0400 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2023-09-10 20:15:31 -0400 |
commit | 1e694fce7e4ba915861a5be543e40667b9da44ed (patch) | |
tree | abd0929fe486d81b14c4900fc48294fb4544f804 /prefab/tree.tscn | |
parent | e2af60e3985317e9c4ec15e60f83bd8f5e49110e (diff) |
Add rock and tree prefab
Update world gen to start placing objects on world
Diffstat (limited to 'prefab/tree.tscn')
-rw-r--r-- | prefab/tree.tscn | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/prefab/tree.tscn b/prefab/tree.tscn new file mode 100644 index 0000000..855920d --- /dev/null +++ b/prefab/tree.tscn @@ -0,0 +1,19 @@ +[gd_scene load_steps=3 format=3 uid="uid://b10phvcuy488p"] + +[sub_resource type="CylinderShape3D" id="CylinderShape3D_wmmj8"] +height = 10.0 + +[sub_resource type="CylinderMesh" id="CylinderMesh_bbh53"] +height = 10.0 + +[node name="Tree" type="Node3D"] + +[node name="StaticBody3D" type="StaticBody3D" parent="."] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, 0) +shape = SubResource("CylinderShape3D_wmmj8") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D/CollisionShape3D"] +mesh = SubResource("CylinderMesh_bbh53") +skeleton = NodePath("../../..") |