Added Terrain3D and Jolt physics

This commit is contained in:
2024-02-19 14:40:29 +01:00
parent 0c15f00942
commit 54f2b9c686
9 changed files with 83 additions and 32 deletions

View File

@ -11,6 +11,9 @@ var depth := 60
var current_pos := Vector3i(0, 0, 0)
var old_pos := Vector3i(NAN, NAN, NAN)
func _ready():
set_process(visible)
func _process(_delta):
current_pos = local_to_map(Global.player.position)