From 80039e0e7eb142d51f882a39981fd415ea3f5c54 Mon Sep 17 00:00:00 2001 From: nokoe Date: Thu, 20 Jun 2024 14:13:28 +0200 Subject: map generation --- client/scripts/map/full_tile.gd | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 client/scripts/map/full_tile.gd (limited to 'client/scripts/map/full_tile.gd') diff --git a/client/scripts/map/full_tile.gd b/client/scripts/map/full_tile.gd new file mode 100644 index 00000000..c05e0457 --- /dev/null +++ b/client/scripts/map/full_tile.gd @@ -0,0 +1,13 @@ +class_name FullTile +extends Floor + +var static_body = StaticBody3D.new() + +func setup(rename: String, neighbors: Array): + super.setup(rename, neighbors) + var shape = CollisionShape3D.new() + var box = BoxShape3D.new() + shape.position.y += .5 + shape.shape = box + static_body.add_child(shape) + base.add_child(static_body) -- cgit v1.2.3-70-g09d2