2024-08-01 22:29:11 +00:00
|
|
|
extends SpaceEntity
|
|
|
|
## Position for mob to be spawned in.
|
|
|
|
##
|
|
|
|
|
|
|
|
class_name SpaceSpawn
|
|
|
|
|
|
|
|
|
|
|
|
func space_position(space: Space) -> Vector3:
|
|
|
|
# todo: Get current region elevation
|
2024-08-02 01:38:05 +00:00
|
|
|
return Vector3(global_position.x * space.unit_scale, 0, global_position.y * space.unit_scale)
|