LD56 is over. This is the game.
This commit is contained in:
13
entities/terrain/terrain.gd
Normal file
13
entities/terrain/terrain.gd
Normal file
@@ -0,0 +1,13 @@
|
||||
class_name Terrain extends StaticBody3D
|
||||
|
||||
static var instance:Terrain
|
||||
|
||||
func _init() -> void:
|
||||
instance = self
|
||||
|
||||
func _ready() -> void:
|
||||
refresh_navmap()
|
||||
|
||||
func refresh_navmap()->void:
|
||||
$NavigationRegion3D.bake_navigation_mesh()
|
||||
|
||||
Reference in New Issue
Block a user